Module FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad BoolOpOr NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore IfExp Call NameLoad NameLoad NameLoad NameLoad ListLoad NameLoad AugAssignAdd NameStore NameLoad Assign NameStore IfExp NameLoad Call NameLoad NameLoad NameLoad For NameStore NameLoad body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Return Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list
N/A extensionmethod N/A N/A base name decorator instancemethod alias N/A None None False None N/A N/A Function decorator that extends base with the decorated
    function.

    Keyword arguments:
    :param T base: Base class to extend with method
    :param string name: Name of method to set
    :param Callable decorator: Additional decorator e.g staticmethod

    :returns: A function that takes the class to be decorated.
    :rtype: func -> func
     inner N/A N/A func N/A N/A N/A This function is returned by the outer extensionmethod()

        :param types.FunctionType func: Function to be decorated
         N/A func_names N/A N/A name N/A func __name__ N/A alias N/A N/A aliases N/A N/A isinstance alias list alias N/A alias N/A func_names aliases N/A func N/A decorator N/A decorator func func N/A func_name func_names N/A N/A instancemethod N/A N/A N/A N/A N/A base _methods append N/A func_name func N/A N/A N/A setattr base func_name func N/A func N/A N/A inner N/A extensionclassmethod N/A N/A base name alias N/A None None N/A N/A Function decorator that extends base with the decorated
    function as a class method.

    Keyword arguments:
    :param T base: Base class to extend with classmethod
    :param string name: Name of method to set

    :returns: A function that takes the class to be decorated.
    :rtype: func -> func
     N/A N/A extensionmethod base base name name decorator classmethod alias alias N/A