mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
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.
This commit is contained in:
parent
e5252c6127
commit
d228825e08
3 changed files with 6 additions and 2 deletions
|
@ -20,7 +20,9 @@
|
|||
#endif /* MS_WINDOWS */
|
||||
|
||||
|
||||
PyThreadState* _PyOS_ReadlineTState = NULL;
|
||||
// Export the symbol since it's used by the readline shared extension
|
||||
PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState;
|
||||
PyThreadState *_PyOS_ReadlineTState = NULL;
|
||||
|
||||
static PyThread_type_lock _PyOS_ReadlineLock = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue