aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/future.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-04 00:35:46 +0200
committerGitHub <noreply@github.com>2023-07-03 22:35:46 +0000
commit506cfdf141f03186d5cdf9bb31caa40294eba4e5 (patch)
treee437491ed9879e56746d35be2c8fb802a98307d7 /Python/future.c
parentb24479dcba6e8952039066564d448d5ac4b37bef (diff)
downloadcpython-506cfdf141f03186d5cdf9bb31caa40294eba4e5.tar.gz
cpython-506cfdf141f03186d5cdf9bb31caa40294eba4e5.zip
gh-106320: Remove more private _PyUnicode C API functions (#106382)
Remove more private _PyUnicode C API functions: move them to the internal C API (pycore_unicodeobject.h). No longer export most pycore_unicodeobject.h functions.
Diffstat (limited to 'Python/future.c')
-rw-r--r--Python/future.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/future.c b/Python/future.c
index d56f7330964..0dbc7ede20f 100644
--- a/Python/future.c
+++ b/Python/future.c
@@ -1,5 +1,6 @@
#include "Python.h"
#include "pycore_ast.h" // _PyAST_GetDocString()
+#include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString()
#define UNDEFINED_FUTURE_FEATURE "future feature %.100s is not defined"