function¶
Properties¶
- func_closure
- Returns None or a tuple of cells that contain bindings for the function’s free variables.
- func_code
- Returns the code object representing the compiled function body.
- func_defaults
- Returns a tuple containing default argument values for those arguments that have defaults, or None if no arguments have a default value.
- func_dict
- Returns the namespace supporting arbitrary function attributes.
- func_doc
- Returns the function’s documentation string, or None if unavailable.
- func_globals
- Returns a reference to the dictionary that holds the function’s global variables.
- func_name
- Returns the function’s name.