Searched refs:co_names (Results 1 – 15 of 15) sorted by relevance
/third_party/python/Objects/clinic/ |
D | codeobject.c.h | 160 PyObject *co_consts, PyObject *co_names, 182 PyObject *co_names = self->co_names; in code_replace() local 285 co_names = args[9]; in code_replace() 352 …co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_names, co_varnames, co_… in code_replace()
|
/third_party/python/Lib/ |
D | dis.py | 169 if co.co_names: 171 for i_n in enumerate(co.co_names): 279 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names, 372 _disassemble_bytes(co.co_code, lasti, co.co_varnames, co.co_names, 489 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names, 518 names=co.co_names, constants=co.co_consts,
|
D | modulefinder.py | 398 names = co.co_names
|
D | inspect.py | 1589 for name in code.co_names:
|
/third_party/python/Objects/ |
D | codeobject.c | 248 co->co_names = names; in PyCode_NewWithPosOnlyArgs() 392 {"co_names", T_OBJECT, OFF(co_names), READONLY}, 659 Py_XDECREF(co->co_names); in code_dealloc() 727 PyObject *co_consts, PyObject *co_names, in code_replace_impl() argument 759 co_stacksize, co_flags, (PyObject*)co_code, co_consts, co_names, in code_replace_impl() 961 eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ); in code_richcompare() 999 h3 = PyObject_Hash(co->co_names); in code_hash()
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_rpc.py | 16 self.assertEqual(code.co_names, ('a', 'b', 'c'))
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | debug.py | 274 code.co_names, code.co_varnames, filename, 281 code.co_names, code.co_varnames, filename,
|
/third_party/python/Include/cpython/ |
D | code.h | 29 PyObject *co_names; /* list of strings (names used) */ member
|
/third_party/python/Doc/library/ |
D | dis.rst | 806 :attr:`co_names` of the code object. The compiler tries to use 812 Implements ``del name``, where *namei* is the index into :attr:`co_names` 837 :attr:`co_names`. 842 Implements ``del TOS.name``, using *namei* as index into :attr:`co_names`. 862 Pushes the value associated with ``co_names[namei]`` onto the stack. 946 Replaces TOS with ``getattr(TOS, co_names[namei])``. 971 Imports the module ``co_names[namei]``. TOS and TOS1 are popped and provide 980 Loads the attribute ``co_names[namei]`` from the module found in TOS. The 1042 Loads the global named ``co_names[namei]`` onto the stack. 1164 Loads a method named ``co_names[namei]`` from the TOS object. TOS is popped.
|
D | inspect.rst | 190 | | co_names | tuple of names of local |
|
/third_party/python/Lib/test/ |
D | test_code.py | 224 co.co_names,
|
/third_party/python/Python/ |
D | marshal.c | 520 w_object(co->co_names, p); in w_complex_object()
|
D | ceval.c | 1667 names = co->co_names; in _PyEval_EvalFrameDefault() 6348 PyObject *names = f->f_code->co_names; in unicode_concatenate()
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 967 single: co_names (code object attribute) 987 a tuple containing the literals used by the bytecode; :attr:`co_names` is
|
/third_party/python/Misc/NEWS.d/ |
D | 3.8.0a1.rst | 915 attributes like ``co_names`` are merged too.
|