types.ModuleType.__name__

__name__ The name of the module.

types.MethodType

types.MethodType The type of methods of user-defined class instances.

types.MappingProxyType.values()

values() Return a new view of the underlying mapping’s values.

types.MemberDescriptorType

types.MemberDescriptorType The type of objects defined in extension modules with PyMemberDef, such as datetime.timedelta.days. This type is used as descriptor for simple C data members which use standard conversion functions; it has the same purpose as the property type, but for classes defined in extension modules. CPython implementation detail: In other implementations of Python, this type may be identical to GetSetDescriptorType.

types.MappingProxyType.keys()

keys() Return a new view of the underlying mapping’s keys.

types.ModuleType.__doc__

__doc__ The docstring of the module. Defaults to None.

types.MappingProxyType.items()

items() Return a new view of the underlying mapping’s items ((key, value) pairs).

types.ModuleType

class types.ModuleType(name, doc=None) The type of modules. Constructor takes the name of the module to be created and optionally its docstring. Note Use importlib.util.module_from_spec() to create a new module if you wish to set the various import-controlled attributes. __doc__ The docstring of the module. Defaults to None. __loader__ The loader which loaded the module. Defaults to None. Changed in version 3.4: Defaults to None. Previously the attribute was optional. __name

types.GeneratorType

types.GeneratorType The type of generator-iterator objects, created by generator functions.

types.LambdaType

types.LambdaType The type of user-defined functions and functions created by lambda expressions.