mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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
|
@ -1313,6 +1313,9 @@ rlhandler(char *text)
|
|||
static char *
|
||||
readline_until_enter_or_signal(const char *prompt, int *signal)
|
||||
{
|
||||
// Defined in Parser/myreadline.c
|
||||
extern PyThreadState *_PyOS_ReadlineTState;
|
||||
|
||||
char * not_done_reading = "";
|
||||
fd_set selectset;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue