Module Expr Str Import alias FunctionDef arguments args defaults body Pass decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Lambda arguments args defaults NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Yield Num decorator_list Assign NameStore Call NameLoad Call NameLoad ClassDef bases body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign NameStore Call NameLoad AttributeLoad Call NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad ListLoad attr Assign NameStore Call NameLoad NameLoad TryExcept body Raise NameLoad handlers ExceptHandler type NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Delete NameDel Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Delete NameDel NameDel NameDel NameDel FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad NameLoad NameLoad body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Dict orelse Assign NameStore Call NameLoad NameLoad If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse If NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse Assign NameStore NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore Dict Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Continue If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Continue Raise Call NameLoad Str Return NameLoad decorator_list
N/A N/A 
Define names for built-in types that aren't directly accessible as a builtin.
 N/A sys _f N/A N/A N/A N/A N/A N/A N/A FunctionType N/A type _f N/A LambdaType N/A type N/A N/A N/A N/A None N/A CodeType N/A type N/A _f __code__ N/A MappingProxyType N/A type N/A type __dict__ N/A SimpleNamespace N/A type N/A sys implementation _g N/A N/A N/A N/A N/A N/A 1 N/A N/A GeneratorType N/A type N/A _g _C N/A N/A _m N/A N/A self N/A N/A N/A N/A N/A N/A MethodType N/A type N/A N/A _C _m N/A BuiltinFunctionType N/A type len N/A BuiltinMethodType N/A type N/A N/A append N/A ModuleType N/A type sys N/A N/A N/A TypeError N/A N/A N/A TypeError N/A N/A tb N/A N/A N/A sys exc_info N/A 2 N/A TracebackType N/A type tb N/A FrameType N/A type N/A tb tb_frame N/A tb None N/A tb N/A GetSetDescriptorType N/A type N/A FunctionType __code__ N/A MemberDescriptorType N/A type N/A FunctionType __globals__ N/A sys _f _g _C new_class N/A N/A name bases kwds exec_body N/A N/A None None N/A N/A Create a class object dynamically using the appropriate metaclass. N/A N/A meta ns kwds N/A prepare_class name bases kwds N/A N/A exec_body None N/A N/A N/A exec_body ns N/A N/A meta name bases ns kwds N/A prepare_class N/A N/A name bases kwds N/A N/A None N/A N/A Call the __prepare__ method of the appropriate metaclass.

    Returns (metaclass, namespace, kwds) as a 3-tuple

    *metaclass* is the appropriate metaclass
    *namespace* is the prepared class namespace
    *kwds* is an updated copy of the passed in kwds argument with any
    'metaclass' entry removed. If no kwds argument is passed in, this will
    be an empty dict.
     N/A N/A kwds None N/A N/A kwds N/A N/A N/A kwds N/A dict kwds N/A N/A metaclass kwds N/A N/A meta N/A N/A kwds pop metaclass N/A N/A bases N/A N/A meta N/A type N/A bases N/A 0 N/A N/A meta type N/A N/A isinstance meta type N/A N/A meta N/A _calculate_meta meta bases N/A N/A hasattr meta __prepare__ N/A N/A ns N/A N/A meta __prepare__ name bases kwds N/A N/A ns N/A N/A N/A meta ns kwds N/A _calculate_meta N/A N/A meta bases N/A N/A N/A Calculate the most derived metaclass. N/A winner meta N/A base bases N/A N/A base_meta N/A type base N/A N/A issubclass winner base_meta N/A N/A N/A N/A issubclass base_meta winner N/A N/A winner base_meta N/A N/A N/A TypeError metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases N/A winner N/A