Module Expr Str ImportFrom alias alias alias Import alias Import alias Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad body If Call NameLoad NameLoad NameLoad body If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str NameLoad body Return AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body TryExcept body If CompareIs NameLoad NameLoad body Return Assign NameStore Call NameLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr keyword NameLoad Return Call AttributeLoad NameLoad attr keyword BinOpAdd TupleLoad NameLoad SubscriptLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Slice Num orelse Return NameLoad orelse Return Call AttributeLoad NameLoad attr keyword SubscriptLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Slice Num TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass orelse If CompareIsNot NameLoad NameLoad body Return NameLoad TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass orelse Return Call NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr AttributeLoad NameLoad attr TupleLoad Assign NameStore BoolOpOr AttributeLoad NameLoad attr Dict TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad orelse If BoolOpAnd CompareNotIn AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign NameStore NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Str Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad NameLoad attr keyword SubscriptLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Slice Num If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad Num keyword Str Assign NameStore Call NameLoad Num keyword Str Assign NameStore Call NameLoad Num keyword Str Assign NameStore Call NameLoad Num keyword Str Assign NameStore Call NameLoad Num keyword Str ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str Str Str Str Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If CompareNotIn NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If CompareIn NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body If CompareNotEq NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareNotEq NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad Str attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Call NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Call NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Assign NameStore BinOpAdd Str NameLoad orelse If CompareEq NameLoad NameLoad body Assign NameStore BinOpAdd Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd Call NameLoad AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If BoolOpOr CompareIn AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Break TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Break orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Dict Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If UnaryOpNot NameLoad body If BoolOpOr CompareIn AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Continue If UnaryOpNot NameLoad body Continue TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Pass orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd Call NameLoad AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad orelse If NameLoad body Assign NameStore Call NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareLt NameLoad NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Raise Call NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIn NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call NameLoad NameLoad Str Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Dict Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Num Assign NameStore ListLoad Assign NameStore BinOpSub NameLoad NameLoad For NameStore SubscriptLoad NameLoad Slice NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index NameLoad If BinOpBitAnd AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If BinOpBitAnd AttributeLoad NameLoad attr Num body Assign NameStore BinOpAdd NameLoad NameLoad If BinOpBitAnd AttributeLoad NameLoad attr Num body AugAssignAdd NameStore Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad Return Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr UnaryOpNot Call NameLoad Call NameLoad NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareNotEq Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad orelse If CompareNotEq NameLoad NameLoad body Return NameLoad orelse TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad orelse If BoolOpOr CompareNotEq NameLoad NameLoad CompareNotEq NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore TupleLoad Assign NameStore Call NameLoad NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr While NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Break orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Break orelse If CompareIn AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Raise Call NameLoad NameLoad Assign NameStore TupleLoad NameLoad Break orelse If BoolOpOr CompareEq AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore TupleLoad NameLoad Break orelse If NameLoad body Assign NameStore TupleLoad NameLoad Break orelse Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Raise Call NameLoad NameLoad orelse TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str orelse If CompareIn AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad body Raise Call NameLoad Str If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call NameLoad NameLoad Break If CompareIn AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Continue Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body If BoolOpAnd UnaryOpNot NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr keyword NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad If NameLoad body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Assign NameStore NameLoad orelse If BoolOpAnd CompareEq NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A Function signature objects for callables

Back port of Python 3.3's function signature tools from the inspect module,
modified to be compatible with Python 2.6, 2.7 and 3.2+.
 __future__ absolute_import division print_function N/A itertools N/A functools N/A re N/A types N/A N/A collections OrderedDict N/A N/A N/A ImportError N/A odict OrderedDict N/A __version__ 0.4 N/A __all__ N/A BoundArguments Parameter Signature signature N/A _WrapperDescriptor N/A type N/A type __call__ N/A _MethodWrapper N/A type N/A all __call__ N/A _NonUserDefinedCallables N/A _WrapperDescriptor _MethodWrapper N/A types BuiltinFunctionType formatannotation N/A N/A annotation base_module N/A None N/A N/A N/A isinstance annotation type N/A N/A N/A N/A annotation __module__ N/A builtins __builtin__ base_module N/A N/A N/A annotation __name__ N/A N/A N/A N/A annotation __module__ . N/A annotation __name__ N/A N/A repr annotation N/A _get_user_defined_method N/A N/A cls method_name N/A nested N/A N/A N/A N/A N/A cls type N/A N/A N/A meth N/A getattr cls method_name N/A name nested N/A N/A meth N/A getattr meth name meth N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A isinstance meth _NonUserDefinedCallables N/A N/A meth N/A signature N/A N/A obj N/A N/A N/A Get a signature object for the passed callable. N/A N/A N/A callable obj N/A N/A N/A TypeError N/A N/A {0!r} is not a callable object format obj N/A N/A isinstance obj N/A types MethodType N/A N/A sig N/A signature N/A obj __func__ N/A N/A N/A obj __self__ None N/A N/A N/A sig parameters N/A N/A first N/A N/A N/A N/A N/A N/A sig parameters values N/A 0 replace kind _POSITIONAL_ONLY N/A N/A N/A sig replace parameters N/A N/A first N/A N/A tuple N/A N/A N/A sig parameters values N/A 1 N/A N/A sig N/A N/A N/A N/A sig replace parameters N/A N/A tuple N/A N/A N/A sig parameters values N/A 1 N/A N/A N/A sig N/A obj __signature__ N/A N/A N/A AttributeError N/A N/A N/A N/A N/A sig None N/A N/A sig N/A N/A N/A wrapped N/A obj __wrapped__ N/A N/A N/A AttributeError N/A N/A N/A N/A N/A signature wrapped N/A N/A isinstance obj N/A types FunctionType N/A N/A N/A N/A Signature from_function obj N/A N/A isinstance obj N/A functools partial N/A N/A sig N/A signature N/A obj func N/A new_params N/A OrderedDict N/A N/A N/A sig parameters items N/A partial_args N/A N/A obj args N/A N/A partial_keywords N/A N/A obj keywords N/A N/A N/A N/A ba N/A N/A sig bind_partial partial_args partial_keywords N/A N/A N/A TypeError N/A ex N/A N/A msg N/A N/A partial object {0!r} has incorrect arguments format obj N/A N/A ValueError msg N/A N/A arg_name arg_value N/A N/A N/A ba arguments items N/A N/A param N/A new_params N/A arg_name N/A N/A arg_name partial_keywords N/A N/A N/A new_params N/A arg_name N/A N/A param replace default arg_value _partial_kwarg True N/A N/A N/A N/A N/A param kind N/A _VAR_KEYWORD _VAR_POSITIONAL N/A N/A param _partial_kwarg N/A N/A N/A N/A new_params pop arg_name N/A N/A N/A sig replace parameters N/A N/A new_params values N/A sig None N/A N/A isinstance obj type N/A N/A call N/A _get_user_defined_method N/A type obj __call__ N/A N/A call None N/A N/A sig N/A signature call N/A N/A new N/A _get_user_defined_method obj __new__ N/A N/A new None N/A N/A sig N/A signature new N/A N/A init N/A _get_user_defined_method obj __init__ N/A N/A init None N/A N/A sig N/A signature init N/A N/A N/A N/A isinstance obj _NonUserDefinedCallables N/A N/A call N/A _get_user_defined_method N/A type obj __call__ im_func N/A N/A call None N/A N/A sig N/A signature call N/A N/A sig None N/A N/A N/A N/A sig replace parameters N/A N/A tuple N/A N/A N/A sig parameters values N/A 1 N/A N/A isinstance obj N/A types BuiltinFunctionType N/A N/A msg N/A N/A no signature found for builtin function {0!r} format obj N/A N/A ValueError msg N/A N/A ValueError N/A N/A callable {0!r} is not supported by signature format obj N/A _void N/A object N/A N/A A private marker - used in Parameter & Signature N/A _empty N/A object N/A N/A N/A _ParameterKind N/A int N/A __new__ N/A N/A self N/A args kwargs N/A N/A obj N/A N/A int __new__ self args N/A N/A obj _name N/A kwargs N/A name N/A obj N/A __str__ N/A N/A self N/A N/A N/A N/A self _name N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A <_ParameterKind: {0!r}> format N/A self _name N/A N/A N/A _POSITIONAL_ONLY N/A _ParameterKind 0 name POSITIONAL_ONLY N/A _POSITIONAL_OR_KEYWORD N/A _ParameterKind 1 name POSITIONAL_OR_KEYWORD N/A _VAR_POSITIONAL N/A _ParameterKind 2 name VAR_POSITIONAL N/A _KEYWORD_ONLY N/A _ParameterKind 3 name KEYWORD_ONLY N/A _VAR_KEYWORD N/A _ParameterKind 4 name VAR_KEYWORD Parameter N/A object N/A N/A Represents a parameter in a function signature.

    Has the following public attributes:

    * name : str
        The name of the parameter as a string.
    * default : object
        The default value for the parameter if specified.  If the
        parameter has no default value, this attribute is not set.
    * annotation
        The annotation for the parameter if specified.  If the
        parameter has no annotation, this attribute is not set.
    * kind : str
        Describes how argument values are bound to the parameter.
        Possible values: `Parameter.POSITIONAL_ONLY`,
        `Parameter.POSITIONAL_OR_KEYWORD`, `Parameter.VAR_POSITIONAL`,
        `Parameter.KEYWORD_ONLY`, `Parameter.VAR_KEYWORD`.
     N/A __slots__ N/A _name _kind _default _annotation _partial_kwarg N/A POSITIONAL_ONLY _POSITIONAL_ONLY N/A POSITIONAL_OR_KEYWORD _POSITIONAL_OR_KEYWORD N/A VAR_POSITIONAL _VAR_POSITIONAL N/A KEYWORD_ONLY _KEYWORD_ONLY N/A VAR_KEYWORD _VAR_KEYWORD N/A empty _empty __init__ N/A N/A self name kind default annotation _partial_kwarg N/A _empty _empty False N/A N/A N/A kind N/A _POSITIONAL_ONLY _POSITIONAL_OR_KEYWORD _VAR_POSITIONAL _KEYWORD_ONLY _VAR_KEYWORD N/A N/A N/A ValueError invalid value for 'Parameter.kind' attribute N/A N/A self _kind kind N/A N/A default _empty N/A N/A N/A kind N/A _VAR_POSITIONAL _VAR_KEYWORD N/A N/A msg N/A N/A {0} parameters cannot have default values format kind N/A N/A ValueError msg N/A N/A self _default default N/A N/A self _annotation annotation N/A N/A name None N/A N/A N/A kind _POSITIONAL_ONLY N/A N/A N/A ValueError None is not a valid name for a non-positional-only parameter N/A N/A self _name name N/A N/A name N/A str name N/A N/A N/A kind _POSITIONAL_ONLY N/A N/A N/A re match [a-z_]\w*$ name N/A re I N/A N/A msg N/A N/A {0!r} is not a valid parameter name format name N/A N/A ValueError msg N/A N/A self _name name N/A N/A self _partial_kwarg _partial_kwarg N/A name N/A N/A self N/A N/A N/A N/A self _name N/A property default N/A N/A self N/A N/A N/A N/A self _default N/A property annotation N/A N/A self N/A N/A N/A N/A self _annotation N/A property kind N/A N/A self N/A N/A N/A N/A self _kind N/A property replace N/A N/A self name kind annotation default _partial_kwarg N/A _void _void _void _void _void N/A N/A Creates a customized copy of the Parameter. N/A N/A name _void N/A N/A name N/A self _name N/A N/A kind _void N/A N/A kind N/A self _kind N/A N/A annotation _void N/A N/A annotation N/A self _annotation N/A N/A default _void N/A N/A default N/A self _default N/A N/A _partial_kwarg _void N/A N/A _partial_kwarg N/A self _partial_kwarg N/A N/A N/A type self name kind default default annotation annotation _partial_kwarg _partial_kwarg N/A __str__ N/A N/A self N/A N/A N/A kind N/A self kind N/A formatted N/A self _name N/A N/A kind _POSITIONAL_ONLY N/A N/A N/A formatted None N/A N/A formatted N/A formatted N/A N/A <{0}> format formatted N/A N/A N/A self _annotation _empty N/A N/A formatted N/A N/A {0}:{1} format formatted N/A formatannotation N/A self _annotation N/A N/A N/A self _default _empty N/A N/A formatted N/A N/A {0}={1} format formatted N/A repr N/A self _default N/A N/A kind _VAR_POSITIONAL N/A N/A formatted N/A * formatted N/A N/A N/A kind _VAR_KEYWORD N/A N/A formatted N/A ** formatted N/A formatted N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A <{0} at {1:#x} {2!r}> format N/A N/A self __class__ __name__ N/A id self N/A self name N/A __hash__ N/A N/A self N/A N/A N/A msg N/A N/A unhashable type: '{0}' format N/A N/A self __class__ __name__ N/A N/A TypeError msg N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A issubclass N/A other __class__ Parameter N/A N/A self _name N/A other _name N/A N/A self _kind N/A other _kind N/A N/A self _default N/A other _default N/A N/A self _annotation N/A other _annotation N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A N/A self __eq__ other N/A N/A BoundArguments N/A object N/A N/A Result of `Signature.bind` call.  Holds the mapping of arguments
    to the function's parameters.

    Has the following public attributes:

    * arguments : OrderedDict
        An ordered mutable mapping of parameters' names to arguments' values.
        Does not contain arguments' default values.
    * signature : Signature
        The Signature object that created this instance.
    * args : tuple
        Tuple of positional arguments values.
    * kwargs : dict
        Dict of keyword arguments values.
     __init__ N/A N/A self signature arguments N/A N/A N/A N/A self arguments arguments N/A N/A self _signature signature N/A signature N/A N/A self N/A N/A N/A N/A self _signature N/A property args N/A N/A self N/A N/A N/A args N/A N/A N/A param_name param N/A N/A N/A N/A self _signature parameters items N/A N/A N/A N/A N/A param kind N/A _VAR_KEYWORD _KEYWORD_ONLY N/A param _partial_kwarg N/A N/A N/A N/A N/A arg N/A N/A self arguments N/A param_name N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A param kind _VAR_POSITIONAL N/A N/A N/A N/A args extend arg N/A N/A N/A N/A args append arg N/A N/A tuple args N/A property kwargs N/A N/A self N/A N/A N/A kwargs N/A N/A kwargs_started False N/A N/A param_name param N/A N/A N/A N/A self _signature parameters items N/A N/A N/A kwargs_started N/A N/A N/A N/A N/A param kind N/A _VAR_KEYWORD _KEYWORD_ONLY N/A param _partial_kwarg N/A N/A kwargs_started True N/A N/A N/A param_name N/A self arguments N/A N/A kwargs_started True N/A N/A N/A kwargs_started N/A N/A N/A N/A N/A arg N/A N/A self arguments N/A param_name N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A param kind _VAR_KEYWORD N/A N/A N/A N/A kwargs update arg N/A N/A N/A kwargs N/A param_name arg N/A kwargs N/A property __hash__ N/A N/A self N/A N/A N/A msg N/A N/A unhashable type: '{0}' format N/A N/A self __class__ __name__ N/A N/A TypeError msg N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A issubclass N/A other __class__ BoundArguments N/A N/A self signature N/A other signature N/A N/A self arguments N/A other arguments N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A N/A self __eq__ other N/A N/A Signature N/A object N/A N/A A Signature object represents the overall signature of a function.
    It stores a Parameter object for each parameter accepted by the
    function, as well as information specific to the function itself.

    A Signature object has the following public attributes and methods:

    * parameters : OrderedDict
        An ordered mapping of parameters' names to the corresponding
        Parameter objects (keyword-only arguments are in the same order
        as listed in `code.co_varnames`).
    * return_annotation : object
        The annotation for the return type of the function if specified.
        If the function has no annotation for its return type, this
        attribute is not set.
    * bind(*args, **kwargs) -> BoundArguments
        Creates a mapping from positional and keyword arguments to
        parameters.
    * bind_partial(*args, **kwargs) -> BoundArguments
        Creates a partial mapping from positional and keyword arguments
        to parameters (simulating 'functools.partial' behavior.)
     N/A __slots__ N/A _return_annotation _parameters N/A _parameter_cls Parameter N/A _bound_arguments_cls BoundArguments N/A empty _empty __init__ N/A N/A self parameters return_annotation __validate_parameters__ N/A None _empty True N/A N/A Constructs Signature from the given list of Parameter
        objects and 'return_annotation'.  All arguments are optional.
         N/A N/A parameters None N/A N/A params N/A OrderedDict N/A N/A __validate_parameters__ N/A N/A params N/A OrderedDict N/A top_kind _POSITIONAL_ONLY N/A N/A idx param N/A enumerate parameters N/A N/A kind N/A param kind N/A N/A kind top_kind N/A N/A msg wrong parameter order: {0} before {1} N/A msg N/A N/A msg format top_kind N/A param kind N/A N/A ValueError msg N/A N/A top_kind kind N/A name N/A param name N/A N/A name None N/A N/A name N/A str idx N/A param N/A N/A param replace name name N/A N/A name params N/A N/A msg N/A N/A duplicate parameter name: {0!r} format name N/A N/A ValueError msg N/A N/A params N/A name param N/A N/A params N/A OrderedDict N/A N/A N/A param name param N/A param parameters N/A N/A self _parameters params N/A N/A self _return_annotation return_annotation N/A from_function N/A N/A cls func N/A N/A N/A Constructs Signature for the given python function N/A N/A N/A isinstance func N/A types FunctionType N/A N/A N/A TypeError N/A N/A {0!r} is not a Python function format func N/A Parameter N/A cls _parameter_cls N/A func_code N/A func __code__ N/A pos_count N/A func_code co_argcount N/A arg_names N/A func_code co_varnames N/A positional N/A tuple N/A arg_names N/A pos_count N/A keyword_only_count N/A getattr func_code co_kwonlyargcount 0 N/A keyword_only N/A arg_names N/A pos_count N/A pos_count keyword_only_count N/A annotations N/A getattr func __annotations__ N/A N/A defaults N/A func __defaults__ N/A kwdefaults N/A getattr func __kwdefaults__ None N/A defaults N/A N/A pos_default_count N/A len defaults N/A N/A pos_default_count 0 N/A parameters N/A N/A non_default_count N/A pos_count pos_default_count N/A name N/A positional N/A non_default_count N/A N/A annotation N/A N/A annotations get name _empty N/A N/A N/A parameters append N/A Parameter name annotation annotation kind _POSITIONAL_OR_KEYWORD N/A N/A offset name N/A enumerate N/A positional N/A non_default_count N/A N/A annotation N/A N/A annotations get name _empty N/A N/A N/A parameters append N/A Parameter name annotation annotation kind _POSITIONAL_OR_KEYWORD default N/A defaults N/A offset N/A N/A N/A func_code co_flags 4 N/A N/A name N/A arg_names N/A N/A pos_count keyword_only_count N/A annotation N/A N/A annotations get name _empty N/A N/A N/A parameters append N/A Parameter name annotation annotation kind _VAR_POSITIONAL N/A name keyword_only N/A N/A default _empty N/A N/A kwdefaults None N/A N/A default N/A N/A kwdefaults get name _empty N/A annotation N/A N/A annotations get name _empty N/A N/A N/A parameters append N/A Parameter name annotation annotation kind _KEYWORD_ONLY default default N/A N/A N/A func_code co_flags 8 N/A N/A index N/A pos_count keyword_only_count N/A N/A N/A func_code co_flags 4 N/A N/A index 1 N/A name N/A arg_names N/A index N/A annotation N/A N/A annotations get name _empty N/A N/A N/A parameters append N/A Parameter name annotation annotation kind _VAR_KEYWORD N/A N/A cls parameters return_annotation N/A N/A annotations get return _empty __validate_parameters__ False N/A classmethod parameters N/A N/A self N/A N/A N/A N/A N/A N/A N/A types MappingProxyType N/A self _parameters N/A N/A N/A AttributeError N/A N/A N/A OrderedDict N/A N/A N/A self _parameters items N/A property return_annotation N/A N/A self N/A N/A N/A N/A self _return_annotation N/A property replace N/A N/A self parameters return_annotation N/A _void _void N/A N/A Creates a customized copy of the Signature.
        Pass 'parameters' and/or 'return_annotation' arguments
        to override them in the new copy.
         N/A N/A parameters _void N/A N/A parameters N/A N/A N/A self parameters values N/A N/A return_annotation _void N/A N/A return_annotation N/A self _return_annotation N/A N/A N/A type self parameters return_annotation return_annotation N/A __hash__ N/A N/A self N/A N/A N/A msg N/A N/A unhashable type: '{0}' format N/A N/A self __class__ __name__ N/A N/A TypeError msg N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A N/A issubclass N/A type other Signature N/A N/A self return_annotation N/A other return_annotation N/A N/A len N/A self parameters N/A len N/A other parameters N/A N/A False N/A other_positions N/A dict N/A N/A param idx N/A N/A idx param N/A enumerate N/A N/A N/A other parameters keys N/A N/A idx N/A param_name param N/A enumerate N/A N/A N/A self parameters items N/A N/A N/A N/A param kind _KEYWORD_ONLY N/A N/A N/A N/A other_param N/A N/A other parameters N/A param_name N/A N/A N/A KeyError N/A N/A False N/A N/A N/A param other_param N/A N/A False N/A N/A N/A N/A other_idx N/A other_positions N/A param_name N/A N/A N/A KeyError N/A N/A False N/A N/A N/A N/A idx other_idx N/A param N/A N/A other parameters N/A param_name N/A N/A False N/A True N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A N/A self __eq__ other N/A _bind N/A N/A self args kwargs partial N/A False N/A N/A Private method.  Don't use directly. N/A arguments N/A OrderedDict N/A parameters N/A iter N/A N/A N/A self parameters values N/A parameters_ex N/A N/A arg_vals N/A iter args N/A partial N/A N/A N/A param_name param N/A N/A N/A self parameters items N/A N/A N/A N/A param _partial_kwarg N/A param_name kwargs N/A N/A N/A kwargs N/A param_name N/A param default N/A True N/A N/A N/A N/A arg_val N/A next arg_vals N/A N/A N/A StopIteration N/A N/A N/A N/A param N/A next parameters N/A N/A N/A StopIteration N/A N/A N/A N/A N/A N/A param kind _VAR_POSITIONAL N/A N/A N/A N/A N/A N/A param name kwargs N/A N/A N/A N/A param kind _POSITIONAL_ONLY N/A N/A msg {arg!r} parameter is positional only, but was passed as a keyword N/A msg N/A N/A msg format arg N/A param name N/A N/A TypeError msg N/A parameters_ex N/A param N/A N/A N/A N/A N/A N/A param kind _VAR_KEYWORD N/A N/A param default _empty N/A N/A parameters_ex N/A param N/A N/A N/A partial N/A N/A parameters_ex N/A param N/A N/A N/A msg {arg!r} parameter lacking default value N/A msg N/A N/A msg format arg N/A param name N/A N/A TypeError msg N/A N/A N/A N/A param N/A next parameters N/A N/A N/A StopIteration N/A N/A N/A TypeError too many positional arguments N/A N/A N/A N/A param kind N/A _VAR_KEYWORD _KEYWORD_ONLY N/A N/A N/A TypeError too many positional arguments N/A N/A N/A param kind _VAR_POSITIONAL N/A N/A values N/A arg_val N/A N/A N/A values extend arg_vals N/A N/A arguments N/A N/A param name N/A tuple values N/A N/A N/A N/A param name kwargs N/A N/A N/A TypeError N/A N/A multiple values for argument {arg!r} format arg N/A param name N/A N/A arguments N/A N/A param name arg_val N/A kwargs_param None N/A param N/A N/A itertools chain parameters_ex parameters N/A N/A N/A N/A param kind _POSITIONAL_ONLY N/A N/A N/A TypeError N/A N/A {arg!r} parameter is positional only, but was passed as a keyword format arg N/A param name N/A N/A N/A param kind _VAR_KEYWORD N/A N/A kwargs_param param N/A N/A param_name N/A param name N/A N/A N/A arg_val N/A N/A kwargs pop param_name N/A N/A N/A KeyError N/A N/A N/A N/A partial N/A N/A param kind _VAR_POSITIONAL N/A N/A param default _empty N/A N/A N/A TypeError N/A N/A {arg!r} parameter lacking default value format arg param_name N/A N/A N/A arguments N/A param_name arg_val N/A kwargs N/A N/A N/A kwargs_param None N/A N/A N/A arguments N/A N/A kwargs_param name kwargs N/A N/A N/A TypeError too many keyword arguments N/A N/A N/A self _bound_arguments_cls self arguments N/A bind N/A N/A self N/A args kwargs N/A N/A Get a BoundArguments object, that maps the passed `args`
        and `kwargs` to the function's signature.  Raises `TypeError`
        if the passed arguments can not be bound.
         N/A N/A N/A self _bind args kwargs N/A bind_partial N/A N/A self N/A args kwargs N/A N/A Get a BoundArguments object, that partially maps the
        passed `args` and `kwargs` to the function's signature.
        Raises `TypeError` if the passed arguments can not be bound.
         N/A N/A N/A self _bind args kwargs partial True N/A __str__ N/A N/A self N/A N/A N/A result N/A N/A render_kw_only_separator True N/A N/A idx param N/A enumerate N/A N/A N/A self parameters values N/A N/A formatted N/A str param N/A kind N/A param kind N/A N/A kind _VAR_POSITIONAL N/A N/A render_kw_only_separator False N/A N/A N/A N/A kind _KEYWORD_ONLY render_kw_only_separator N/A N/A N/A N/A result append * N/A render_kw_only_separator False N/A N/A N/A result append formatted N/A rendered N/A N/A ({0}) format N/A N/A ,  join result N/A N/A N/A self return_annotation _empty N/A N/A anno N/A formatannotation N/A self return_annotation N/A rendered N/A N/A  -> {0} format anno N/A rendered N/A N/A