PyDocs

Nav

Python Runtime Services

function.__closure__

builtins

attribute
None or a tuple of cells that contain bindings for the names specified in the co_freevars attribute of the function’s code object. A cell object has the attribute cell_contents. This can be used to get the value of the cell, as well as set the value.
0 Examples
No examples for builtins/function.__closure__.
See Also
No see-alsos for builtins/function.__closure__
0 Notes
No notes for function.__closure__