Module Import alias Assign NameStore ListLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr body AugAssignAdd NameStore Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BoolOpOr AttributeLoad NameLoad attr TupleLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpSub Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd NameLoad Call NameLoad NameLoad Assign NameStore NameLoad If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad If UnaryOpNot NameLoad body Return If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr orelse If BoolOpAnd NameLoad CompareGt NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr If CompareLt NameLoad NameLoad body Return Call AttributeLoad Str attr NameLoad NameLoad NameLoad orelse If BoolOpAnd NameLoad CompareGt NameLoad NameLoad body Return Call AttributeLoad Str attr NameLoad NameLoad NameLoad If CompareLt NameLoad NameLoad body Assign NameStore BinOpSub NameLoad NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Num orelse If CompareGt NameLoad Num body If NameLoad body Expr Call AttributeLoad NameLoad attr Num orelse If CompareNotIn NameLoad NameLoad body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignSub NameStore Num If BoolOpAnd NameLoad NameLoad body Assign NameStore Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore Str Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad Str attr NameLoad comprehension NameStore NameLoad Return Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareGt NameLoad BinOpAdd NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad NameLoad NameLoad decorator_list
N/A N/A inspect N/A __all__ N/A checkarity checkarity N/A N/A func args kwargs discount N/A 0 N/A N/A Check if arguments respect a given function arity and return
    an error message if the check did not pass,
    otherwise it returns ``None``.

    :parameter func: the function.
    :parameter args: function arguments.
    :parameter kwargs: function key-valued parameters.
    :parameter discount: optional integer which discount the number of
                         positional argument to check. Default ``0``.
     N/A spec N/A N/A inspect getargspec func N/A self N/A getattr func __self__ None N/A N/A self N/A spec args N/A N/A discount 1 N/A args N/A list args N/A defaults N/A list N/A N/A spec defaults N/A N/A len_defaults N/A len defaults N/A len_args N/A N/A len N/A spec args discount N/A len_args_input N/A len args N/A minlen N/A len_args len_defaults N/A totlen N/A len_args_input N/A len kwargs N/A maxlen len_args N/A N/A N/A spec varargs N/A spec keywords N/A N/A maxlen None N/A N/A minlen N/A N/A N/A N/A N/A N/A spec defaults maxlen N/A N/A start N/A N/A "{0}" takes format N/A func __name__ N/A N/A N/A maxlen N/A totlen maxlen N/A N/A start N/A N/A "{0}" takes at most format N/A func __name__ N/A N/A start N/A N/A "{0}" takes at least format N/A func __name__ N/A N/A totlen minlen N/A N/A N/A N/A {0} {1} parameters. {2} given. format start minlen totlen N/A N/A N/A maxlen N/A totlen maxlen N/A N/A N/A N/A {0} {1} parameters. {2} given. format start maxlen totlen N/A N/A len_args_input len_args N/A N/A l N/A minlen len_args_input N/A arg N/A N/A spec args N/A discount N/A N/A args N/A N/A N/A N/A args pop 0 N/A N/A N/A l 0 N/A N/A defaults N/A N/A N/A N/A defaults pop 0 N/A N/A N/A arg kwargs N/A N/A N/A N/A "{0}" has missing "{1}" parameter. format N/A func __name__ arg N/A N/A N/A kwargs pop arg None N/A l 1 N/A N/A kwargs maxlen N/A N/A s N/A N/A N/A len kwargs 1 N/A N/A s s N/A p N/A N/A ,  join N/A N/A N/A "{0}" format p N/A p kwargs N/A N/A N/A "{0}" does not accept {1} parameter{2}. format N/A func __name__ p s N/A N/A N/A len_args_input N/A len_args len_defaults N/A N/A n N/A len_args len_defaults N/A start N/A N/A "{0}" takes format N/A func __name__ N/A N/A N/A {0} {1} positional parameters. {2} given. format start n len_args_input N/A