diff options
author | Batuhan Taskaya <batuhan@python.org> | 2021-06-30 22:53:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-30 22:53:36 (GMT) |
commit | 1b28187a0e3e914ee48de8032cbba0a965dd5563 (patch) | |
tree | ebdccc08b86369b90e61eb1066a8af68694589c0 /Python/symtable.c | |
parent | 66c53b48e1f5c841d9f48e51ce7bf1a74b75b629 (diff) | |
download | cpython-1b28187a0e3e914ee48de8032cbba0a965dd5563.zip cpython-1b28187a0e3e914ee48de8032cbba0a965dd5563.tar.gz cpython-1b28187a0e3e914ee48de8032cbba0a965dd5563.tar.bz2 |
bpo-44313: generate LOAD_ATTR/CALL_FUNCTION for top-level imported objects (GH-26677)
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/symtable.c b/Python/symtable.c index 62bd1e2..4508464 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -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); |