Home
last modified time | relevance | path

Searched refs:co_names (Results 1 – 15 of 15) sorted by relevance

/third_party/python/Objects/clinic/
Dcodeobject.c.h160 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/
Ddis.py169 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,
Dmodulefinder.py398 names = co.co_names
Dinspect.py1589 for name in code.co_names:
/third_party/python/Objects/
Dcodeobject.c248 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/
Dtest_rpc.py16 self.assertEqual(code.co_names, ('a', 'b', 'c'))
/third_party/node/tools/inspector_protocol/jinja2/
Ddebug.py274 code.co_names, code.co_varnames, filename,
281 code.co_names, code.co_varnames, filename,
/third_party/python/Include/cpython/
Dcode.h29 PyObject *co_names; /* list of strings (names used) */ member
/third_party/python/Doc/library/
Ddis.rst806 :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.
Dinspect.rst190 | | co_names | tuple of names of local |
/third_party/python/Lib/test/
Dtest_code.py224 co.co_names,
/third_party/python/Python/
Dmarshal.c520 w_object(co->co_names, p); in w_complex_object()
Dceval.c1667 names = co->co_names; in _PyEval_EvalFrameDefault()
6348 PyObject *names = f->f_code->co_names; in unicode_concatenate()
/third_party/python/Doc/reference/
Ddatamodel.rst967 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/
D3.8.0a1.rst915 attributes like ``co_names`` are merged too.