summaryrefslogtreecommitdiffstats
path: root/Include/cpython/pythonrun.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-22 14:45:56 (GMT)
committerGitHub <noreply@github.com>2023-07-22 14:45:56 (GMT)
commitd228825e08883fc13f35eb91435f95d32524931c (patch)
tree5d886d54a07638519b238fb32daa3586a239f76b /Include/cpython/pythonrun.h
parente5252c6127ad788b39221982964f935bd1513028 (diff)
downloadcpython-d228825e08883fc13f35eb91435f95d32524931c.zip
cpython-d228825e08883fc13f35eb91435f95d32524931c.tar.gz
cpython-d228825e08883fc13f35eb91435f95d32524931c.tar.bz2
gh-106320: Remove _PyOS_ReadlineTState API (#107034)
Remove _PyOS_ReadlineTState variable from the public C API. The symbol is still exported for the readline shared extension.
Diffstat (limited to 'Include/cpython/pythonrun.h')
-rw-r--r--Include/cpython/pythonrun.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/cpython/pythonrun.h b/Include/cpython/pythonrun.h
index fb61765..3b2537e 100644
--- a/Include/cpython/pythonrun.h
+++ b/Include/cpython/pythonrun.h
@@ -117,5 +117,4 @@ PyAPI_FUNC(PyObject *) PyRun_FileFlags(FILE *fp, const char *p, int s, PyObject
/* Stuff with no proper home (yet) */
PyAPI_FUNC(char *) PyOS_Readline(FILE *, FILE *, const char *);
-PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState;
PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, const char *);