Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 904 Bytes

File metadata and controls

29 lines (26 loc) · 904 Bytes

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.