diff options
author | Victor Stinner <vstinner@python.org> | 2021-10-19 02:04:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 02:04:52 +0200 |
commit | 5f09bb021a2862ba89c3ecb53e7e6e95a9e07e1d (patch) | |
tree | a7e0aaa8abfd098cc990c8137d65164e2bc40ebd /Python/formatter_unicode.c | |
parent | aad88d33d9db0a93e480f0234292b948890dfc2a (diff) | |
download | cpython-git-5f09bb021a2862ba89c3ecb53e7e6e95a9e07e1d.tar.gz |
bpo-35134: Add Include/cpython/longobject.h (GH-29044)
Move Include/longobject.h non-limited API to a new
Include/cpython/longobject.h header file.
Move the following definitions to the internal C API:
* _PyLong_DigitValue
* _PyLong_FormatAdvancedWriter()
* _PyLong_FormatWriter()
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r-- | Python/formatter_unicode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c index 9071bf3a65..0c21301fb9 100644 --- a/Python/formatter_unicode.c +++ b/Python/formatter_unicode.c @@ -3,7 +3,8 @@ of int.__float__, etc., that take and return unicode objects */ #include "Python.h" -#include "pycore_fileutils.h" +#include "pycore_fileutils.h" // _Py_GetLocaleconvNumeric() +#include "pycore_long.h" // _PyLong_FormatWriter() #include <locale.h> /* Raises an exception about an unknown presentation type for this |