Searched refs:required_on (Results 1 – 4 of 4) sorted by relevance
65 def import_module(name, deprecated=False, *, required_on=()): argument78 if sys.platform.startswith(tuple(required_on)):
14 import_helper.import_module('winreg', required_on=['win'])
11 import_helper.import_module('winreg', required_on=['win'])
1527 .. function:: import_module(name, deprecated=False, *, required_on())1535 optional for others, set *required_on* to an iterable of platform prefixes