Searched refs:cellvars (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Objects/ |
D | codeobject.c | 95 PyObject *varnames, PyObject *freevars, PyObject *cellvars, in PyCode_New() argument 107 cellvars == NULL || !PyTuple_Check(cellvars) || in PyCode_New() 118 intern_strings(cellvars); in PyCode_New() 136 Py_INCREF(cellvars); in PyCode_New() 137 co->co_cellvars = cellvars; in PyCode_New() 281 PyObject *cellvars = NULL, *ourcellvars = NULL; in code_new() local 296 &PyTuple_Type, &cellvars)) in code_new() 325 if (cellvars) in code_new() 326 ourcellvars = validate_and_copy_tuple(cellvars); in code_new()
|
/external/python/cpython2/Lib/compiler/ |
D | pyassem.py | 274 self.cellvars = [] 303 self.cellvars = names 423 for name in self.cellvars: 425 self.cellvars = [name for name in self.varnames 427 for name in self.cellvars: 429 self.cellvars = self.cellvars + cells.keys() 430 self.closure = self.cellvars + self.freevars 544 tuple(self.cellvars))
|
/external/python/cpython2/Lib/test/ |
D | test_new.py | 124 cellvars = c.co_cellvars 128 firstlineno, lnotab, freevars, cellvars)
|
/external/python/cpython2/Python/ |
D | marshal.c | 1008 PyObject *cellvars = NULL; in r_object() local 1036 cellvars = r_object(p); in r_object() 1037 if (cellvars == NULL) in r_object() 1053 freevars, cellvars, filename, name, in r_object() 1062 Py_XDECREF(cellvars); in r_object()
|
D | compile.c | 3814 PyObject *cellvars = NULL; in makecode() local 3829 cellvars = dict_keys_inorder(c->u->u_cellvars, 0); in makecode() 3830 if (!cellvars) in makecode() 3832 freevars = dict_keys_inorder(c->u->u_freevars, PyTuple_Size(cellvars)); in makecode() 3856 freevars, cellvars, in makecode() 3867 Py_XDECREF(cellvars); in makecode()
|
/external/python/cpython2/Doc/c-api/ |
D | code.rst | 36 …sts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellvars, PyObject *filena…
|