Home
last modified time | relevance | path

Searched refs:func_globals (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Include/
Dfuncobject.h24 PyObject *func_globals; /* A dictionary (other mappings won't do) */ member
58 (((PyFunctionObject *)func) -> func_globals)
/external/python/cpython3/Include/
Dfuncobject.h24 PyObject *func_globals; /* A dictionary (other mappings won't do) */ member
80 (((PyFunctionObject *)func) -> func_globals)
/external/python/cpython2/Objects/
Dfuncobject.c23 op->func_globals = globals; in PyFunction_New()
80 return ((PyFunctionObject *) op) -> func_globals; in PyFunction_GetGlobals()
166 {"func_globals", T_OBJECT, OFF(func_globals),
168 {"__globals__", T_OBJECT, OFF(func_globals),
452 Py_DECREF(op->func_globals); in func_dealloc()
474 Py_VISIT(f->func_globals); in func_traverse()
/external/python/cpython3/Objects/
Dfuncobject.c31 op->func_globals = globals; in PyFunction_NewWithQualName()
93 return ((PyFunctionObject *) op) -> func_globals; in PyFunction_GetGlobals()
238 {"__globals__", T_OBJECT, OFF(func_globals),
533 Py_DECREF(op->func_globals); in func_dealloc()
557 Py_VISIT(f->func_globals); in func_traverse()
/external/python/cpython2/Lib/
Dtypes.py82 MemberDescriptorType = type(FunctionType.func_globals)
Ddoctest.py944 return module.__dict__ is object.func_globals
/external/python/cpython2/Lib/test/
Dtest_pyclbr.py143 return item.func_globals is module.__dict__
Dtest_funcattrs.py64 self.assertIs(self.b.func_globals, globals())
/external/python/cpython2/Doc/library/
Drestricted.rst50 function object attribute :attr:`func_globals` and the class and instance object
Dinspect.rst82 | | func_globals | global namespace in which | |
/external/python/six/documentation/
Dindex.rst159 Python 2.6+ and ``func.func_globals`` on Python 2.5.
/external/python/cpython2/Doc/reference/
Ddatamodel.rst498 single: func_globals (function attribute)
527 | :attr:`func_globals` | that holds the function's | |
737 by the func_globals attribute of functions defined in the module). Attribute
/external/python/cpython3/Doc/whatsnew/
D3.0.rst786 :attr:`func_dict`, :attr:`func_doc`, :attr:`func_globals`,
/external/python/cpython2/Misc/
Dcheatsheet1256 func_globals (dict, R/O): ref to dictionary of func global variables