Searched refs:newbound (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | symtable.c | 628 PyObject *newbound = NULL, *newglobal = NULL; in analyze_block() local 654 newbound = PyDict_New(); in analyze_block() 655 if (!newbound) in analyze_block() 665 if (PyDict_Update(newbound, bound) < 0) in analyze_block() 678 if (PyDict_Update(newbound, local) < 0) in analyze_block() 682 if (PyDict_Update(newbound, bound) < 0) in analyze_block() 703 if (!analyze_child_block(entry, newbound, newfree, newglobal, in analyze_block() 726 Py_XDECREF(newbound); in analyze_block()
|
/external/python/cpython3/Python/ |
D | symtable.c | 751 PyObject *name, *v, *local = NULL, *scopes = NULL, *newbound = NULL; in analyze_block() local 781 newbound = PySet_New(NULL); in analyze_block() 782 if (!newbound) in analyze_block() 798 temp = PyNumber_InPlaceOr(newbound, bound); in analyze_block() 816 temp = PyNumber_InPlaceOr(newbound, local); in analyze_block() 823 temp = PyNumber_InPlaceOr(newbound, bound); in analyze_block() 838 if (PySet_Add(newbound, __class__) < 0) in analyze_block() 856 if (!analyze_child_block(entry, newbound, newfree, newglobal, in analyze_block() 887 Py_XDECREF(newbound); in analyze_block()
|