summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_symtable.h
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-03-02 18:38:22 (GMT)
committerGitHub <noreply@github.com>2023-03-02 18:38:22 (GMT)
commit71db5dbcd714b2e1297c43538188dd69715feb9a (patch)
tree4a76dad0166cc9cc54fccb736968f4b201d0e151 /Include/internal/pycore_symtable.h
parent73250000ac7d6a5e41917e8bcea7234444cbde78 (diff)
downloadcpython-71db5dbcd714b2e1297c43538188dd69715feb9a.zip
cpython-71db5dbcd714b2e1297c43538188dd69715feb9a.tar.gz
cpython-71db5dbcd714b2e1297c43538188dd69715feb9a.tar.bz2
gh-102371: move _Py_Mangle from compile.c to symtable.c (#102372)
Diffstat (limited to 'Include/internal/pycore_symtable.h')
-rw-r--r--Include/internal/pycore_symtable.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/internal/pycore_symtable.h b/Include/internal/pycore_symtable.h
index 8532646..512c4c9 100644
--- a/Include/internal/pycore_symtable.h
+++ b/Include/internal/pycore_symtable.h
@@ -90,6 +90,8 @@ PyAPI_FUNC(PySTEntryObject *) PySymtable_Lookup(struct symtable *, void *);
extern void _PySymtable_Free(struct symtable *);
+extern PyObject* _Py_Mangle(PyObject *p, PyObject *name);
+
/* Flags for def-use information */
#define DEF_GLOBAL 1 /* global stmt */
@@ -128,6 +130,11 @@ extern struct symtable* _Py_SymtableStringObjectFlags(
int start,
PyCompilerFlags *flags);
+int _PyFuture_FromAST(
+ struct _mod * mod,
+ PyObject *filename,
+ PyFutureFeatures* futures);
+
#ifdef __cplusplus
}
#endif