Searched refs:co_names (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Objects/ |
D | codeobject.c | 131 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/ |
D | dis.rst | 586 :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.
|
D | inspect.rst | 196 | | co_names | tuple of names of local | |
|
/external/python/cpython2/Include/ |
D | code.h | 18 PyObject *co_names; /* list of strings (names used) */ member
|
/external/python/cpython2/Lib/ |
D | modulefinder.py | 364 names = co.co_names 381 names = co.co_names 610 co.co_flags, co.co_code, tuple(consts), co.co_names,
|
D | dis.py | 97 print '(' + co.co_names[oparg] + ')',
|
/external/python/cpython2/Lib/test/ |
D | test_new.py | 117 names = c.co_names
|
D | test_compiler.py | 92 self.assertIn('__doc__', c.co_names)
|
D | test_import.py | 508 code.co_names, code.co_varnames, code.co_filename,
|
/external/libmojo/third_party/jinja2/ |
D | debug.py | 250 code.co_names, code.co_varnames, filename,
|
/external/python/cpython2/Python/ |
D | marshal.c | 437 w_object(co->co_names, p); in w_object()
|
D | ceval.c | 1013 names = co->co_names; in PyEval_EvalFrameEx() 5154 PyObject *names = f->f_code->co_names; in string_concatenate()
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 934 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/ |
D | cheatsheet | 1286 co_names (tuple, R/O): names used by the bytecode
|