Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dcodeobject.c131 co->co_names = names; in PyCode_New()
207 {"co_names", T_OBJECT, OFF(co_names), READONLY},
349 Py_XDECREF(co->co_names); in code_dealloc()
401 cmp = PyObject_Compare(co->co_names, cp->co_names); in code_compare()
600 eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ); in code_richcompare()
638 h3 = PyObject_Hash(co->co_names); in code_hash()
/external/python/cpython2/Doc/library/
Ddis.rst586 :attr:`co_names` of the code object. The compiler tries to use ``STORE_FAST``
592 Implements ``del name``, where *namei* is the index into :attr:`co_names`
611 :attr:`co_names`.
616 Implements ``del TOS.name``, using *namei* as index into :attr:`co_names`.
636 Pushes the value associated with ``co_names[namei]`` onto the stack.
665 Replaces TOS with ``getattr(TOS, co_names[namei])``.
676 Imports the module ``co_names[namei]``. TOS and TOS1 are popped and provide
685 Loads the attribute ``co_names[namei]`` from the module found in TOS. The
732 Loads the global named ``co_names[namei]`` onto the stack.
Dinspect.rst196 | | co_names | tuple of names of local | |
/external/python/cpython2/Include/
Dcode.h18 PyObject *co_names; /* list of strings (names used) */ member
/external/python/cpython2/Lib/
Dmodulefinder.py364 names = co.co_names
381 names = co.co_names
610 co.co_flags, co.co_code, tuple(consts), co.co_names,
Ddis.py97 print '(' + co.co_names[oparg] + ')',
/external/python/cpython2/Lib/test/
Dtest_new.py117 names = c.co_names
Dtest_compiler.py92 self.assertIn('__doc__', c.co_names)
Dtest_import.py508 code.co_names, code.co_varnames, code.co_filename,
/external/libmojo/third_party/jinja2/
Ddebug.py250 code.co_names, code.co_varnames, filename,
/external/python/cpython2/Python/
Dmarshal.c437 w_object(co->co_names, p); in w_object()
Dceval.c1013 names = co->co_names; in PyEval_EvalFrameEx()
5154 PyObject *names = f->f_code->co_names; in string_concatenate()
/external/python/cpython2/Doc/reference/
Ddatamodel.rst934 single: co_names (code object attribute)
950 used by the bytecode; :attr:`co_names` is a tuple containing the names used by
/external/python/cpython2/Misc/
Dcheatsheet1286 co_names (tuple, R/O): names used by the bytecode