Searched refs:required_on (Results 1 – 4 of 4) sorted by relevance
13 support.import_module('winreg', required_on=['win'])
11 support.import_module('winreg', required_on=['win'])
147 def import_module(name, deprecated=False, *, required_on=()): argument160 if sys.platform.startswith(tuple(required_on)):
953 .. function:: import_module(name, deprecated=False, *, required_on())961 optional for others, set *required_on* to an iterable of platform prefixes