diff options
Diffstat (limited to 'Modules/readline.c')
| -rw-r--r-- | Modules/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c index 98da33b1c4..837194208f 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -724,7 +724,7 @@ on_completion(const char *text, int state) result = NULL; } else { - char *s = PyUnicode_AsString(r); + char *s = _PyUnicode_AsString(r); if (s == NULL) goto error; result = strdup(s); |
