summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_symtable.h
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 /Include/internal/pycore_symtable.h
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 'Include/internal/pycore_symtable.h')
-rw-r--r--Include/internal/pycore_symtable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_symtable.h b/Include/internal/pycore_symtable.h
index f3505f8..4c1b7d3 100644
--- a/Include/internal/pycore_symtable.h
+++ b/Include/internal/pycore_symtable.h
@@ -72,6 +72,7 @@ extern PyTypeObject PySTEntry_Type;
#define PySTEntry_Check(op) Py_IS_TYPE(op, &PySTEntry_Type)
+extern long _PyST_GetSymbol(PySTEntryObject *, PyObject *);
extern int _PyST_GetScope(PySTEntryObject *, PyObject *);
extern struct symtable* _PySymtable_Build(