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 | 710 PyObject *name, *v, *local = NULL, *scopes = NULL, *newbound = NULL; in analyze_block() local 740 newbound = PySet_New(NULL); in analyze_block() 741 if (!newbound) in analyze_block() 757 temp = PyNumber_InPlaceOr(newbound, bound); in analyze_block() 775 temp = PyNumber_InPlaceOr(newbound, local); in analyze_block() 782 temp = PyNumber_InPlaceOr(newbound, bound); in analyze_block() 797 if (PySet_Add(newbound, __class__) < 0) in analyze_block() 815 if (!analyze_child_block(entry, newbound, newfree, newglobal, in analyze_block() 846 Py_XDECREF(newbound); in analyze_block()
|