Searched refs:func_globals (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Include/ |
D | funcobject.h | 24 PyObject *func_globals; /* A dictionary (other mappings won't do) */ member 58 (((PyFunctionObject *)func) -> func_globals)
|
/external/python/cpython3/Include/ |
D | funcobject.h | 24 PyObject *func_globals; /* A dictionary (other mappings won't do) */ member 80 (((PyFunctionObject *)func) -> func_globals)
|
/external/python/cpython2/Objects/ |
D | funcobject.c | 23 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/ |
D | funcobject.c | 31 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/ |
D | types.py | 82 MemberDescriptorType = type(FunctionType.func_globals)
|
D | doctest.py | 944 return module.__dict__ is object.func_globals
|
/external/python/cpython2/Lib/test/ |
D | test_pyclbr.py | 143 return item.func_globals is module.__dict__
|
D | test_funcattrs.py | 64 self.assertIs(self.b.func_globals, globals())
|
/external/python/cpython2/Doc/library/ |
D | restricted.rst | 50 function object attribute :attr:`func_globals` and the class and instance object
|
D | inspect.rst | 82 | | func_globals | global namespace in which | |
|
/external/python/six/documentation/ |
D | index.rst | 159 Python 2.6+ and ``func.func_globals`` on Python 2.5.
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 498 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/ |
D | 3.0.rst | 786 :attr:`func_dict`, :attr:`func_doc`, :attr:`func_globals`,
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1256 func_globals (dict, R/O): ref to dictionary of func global variables
|