summaryrefslogtreecommitdiffstats
path: root/Modules/symtablemodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-29 02:18:52 (GMT)
committerGitHub <noreply@github.com>2023-08-29 02:18:52 (GMT)
commit15c5a50797020944e9ccb72bf3e28c3cca2e35c3 (patch)
tree19d539d1c82456c79cb8a7d4f45bd117a60fdead /Modules/symtablemodule.c
parent301eb7e607be6ea15c7a1e792f1cb927ba423932 (diff)
downloadcpython-15c5a50797020944e9ccb72bf3e28c3cca2e35c3.zip
cpython-15c5a50797020944e9ccb72bf3e28c3cca2e35c3.tar.gz
cpython-15c5a50797020944e9ccb72bf3e28c3cca2e35c3.tar.bz2
gh-106320: Remove private pythonrun API (#108599)
Remove these private functions from the public C API: * _PyRun_AnyFileObject() * _PyRun_InteractiveLoopObject() * _PyRun_SimpleFileObject() * _Py_SourceAsString() Move them to the internal C API: add a new pycore_pythonrun.h header file. No longer export these functions.
Diffstat (limited to 'Modules/symtablemodule.c')
-rw-r--r--Modules/symtablemodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/symtablemodule.c b/Modules/symtablemodule.c
index 1cc319c..dba8003 100644
--- a/Modules/symtablemodule.c
+++ b/Modules/symtablemodule.c
@@ -1,4 +1,5 @@
#include "Python.h"
+#include "pycore_pythonrun.h" // _Py_SourceAsString()
#include "pycore_symtable.h" // struct symtable
#include "clinic/symtablemodule.c.h"