summaryrefslogtreecommitdiffstats
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorBatuhan Taskaya <batuhan@python.org>2021-06-30 22:53:36 (GMT)
committerGitHub <noreply@github.com>2021-06-30 22:53:36 (GMT)
commit1b28187a0e3e914ee48de8032cbba0a965dd5563 (patch)
treeebdccc08b86369b90e61eb1066a8af68694589c0 /Python/symtable.c
parent66c53b48e1f5c841d9f48e51ce7bf1a74b75b629 (diff)
downloadcpython-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.c2
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);