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.h24 PyObject *co_consts, PyObject *co_names,
46 PyObject *co_names = self->co_names; in code_replace() local
184 co_names = args[9]; in code_replace()
251 …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,
369 _disassemble_bytes(co.co_code, lasti, co.co_varnames, co.co_names,
502 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names,
531 names=co.co_names, constants=co.co_consts,
Dmodulefinder.py398 names = co.co_names
Dinspect.py1463 for name in code.co_names:
/third_party/python/Objects/
Dcodeobject.c240 co->co_names = names; in PyCode_NewWithPosOnlyArgs()
384 {"co_names", T_OBJECT, OFF(co_names), READONLY},
574 Py_XDECREF(co->co_names); in code_dealloc()
642 PyObject *co_consts, PyObject *co_names, in code_replace_impl() argument
674 co_stacksize, co_flags, (PyObject*)co_code, co_consts, co_names, in code_replace_impl()
876 eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ); in code_richcompare()
914 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/python/Include/cpython/
Dcode.h29 PyObject *co_names; /* list of strings (names used) */ member
/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/Doc/library/
Ddis.rst759 :attr:`co_names` of the code object. The compiler tries to use
765 Implements ``del name``, where *namei* is the index into :attr:`co_names`
790 :attr:`co_names`.
795 Implements ``del TOS.name``, using *namei* as index into :attr:`co_names`.
815 Pushes the value associated with ``co_names[namei]`` onto the stack.
899 Replaces TOS with ``getattr(TOS, co_names[namei])``.
924 Imports the module ``co_names[namei]``. TOS and TOS1 are popped and provide
933 Loads the attribute ``co_names[namei]`` from the module found in TOS. The
995 Loads the global named ``co_names[namei]`` onto the stack.
1117 Loads a method named ``co_names[namei]`` from the TOS object. TOS is popped.
Dinspect.rst188 | | 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.c1299 names = co->co_names; in _PyEval_EvalFrameDefault()
5535 PyObject *names = f->f_code->co_names; in unicode_concatenate()
/third_party/python/Doc/reference/
Ddatamodel.rst934 single: co_names (code object attribute)
954 a tuple containing the literals used by the bytecode; :attr:`co_names` is
/third_party/python/Misc/
DNEWS8050 recursively. Code attributes like ``co_names`` are merged too.