aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2025-03-17 09:19:04 +0000
committerGitHub <noreply@github.com>2025-03-17 09:19:04 +0000
commita1aeec61c4321ba9a6966109343bd88dcf9cb26a (patch)
treed2fa5ce55165df255559ec4a7b2fb1289e84f908 /Python/formatter_unicode.c
parent3ae67ba97e88d6f066a5b6f0c809f57fe4a1ecbe (diff)
downloadcpython-a1aeec61c4321ba9a6966109343bd88dcf9cb26a.tar.gz
cpython-a1aeec61c4321ba9a6966109343bd88dcf9cb26a.zip
GH-131238: Core header refactor (GH-131250)
* Moves most structs in pycore_ header files into pycore_structs.h and pycore_runtime_structs.h * Removes many cross-header dependencies
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r--Python/formatter_unicode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index dcfff2f5bc7..30807f428c7 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -5,6 +5,7 @@
#include "Python.h"
#include "pycore_fileutils.h" // _Py_GetLocaleconvNumeric()
#include "pycore_long.h" // _PyLong_FormatWriter()
+#include "pycore_unicodeobject.h" // PyUnicode_MAX_CHAR_VALUE()
#include <locale.h>
/* Raises an exception about an unknown presentation type for this