create_module(spec)
A method that returns the module object to use when importing a module. This method may return None
, indicating that default module creation semantics should take place.
New in version 3.4.
Changed in version 3.5: Starting in Python 3.6, this method will not be optional when exec_module()
is defined.
Please login to continue.