mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-44313: generate LOAD_ATTR/CALL_FUNCTION for top-level imported objects (GH-26677)
This commit is contained in:
parent
66c53b48e1
commit
1b28187a0e
9 changed files with 279 additions and 214 deletions
|
@ -391,7 +391,7 @@ PySymtable_Lookup(struct symtable *st, void *key)
|
|||
return (PySTEntryObject *)v;
|
||||
}
|
||||
|
||||
static long
|
||||
long
|
||||
_PyST_GetSymbol(PySTEntryObject *ste, PyObject *name)
|
||||
{
|
||||
PyObject *v = PyDict_GetItemWithError(ste->ste_symbols, name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue