summaryrefslogtreecommitdiffstats
path: root/Python/mystrtoul.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-19 00:04:52 (GMT)
committerGitHub <noreply@github.com>2021-10-19 00:04:52 (GMT)
commit5f09bb021a2862ba89c3ecb53e7e6e95a9e07e1d (patch)
treea7e0aaa8abfd098cc990c8137d65164e2bc40ebd /Python/mystrtoul.c
parentaad88d33d9db0a93e480f0234292b948890dfc2a (diff)
downloadcpython-5f09bb021a2862ba89c3ecb53e7e6e95a9e07e1d.zip
cpython-5f09bb021a2862ba89c3ecb53e7e6e95a9e07e1d.tar.gz
cpython-5f09bb021a2862ba89c3ecb53e7e6e95a9e07e1d.tar.bz2
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/mystrtoul.c')
-rw-r--r--Python/mystrtoul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c
index 19fa57a..e6fe154 100644
--- a/Python/mystrtoul.c
+++ b/Python/mystrtoul.c
@@ -1,5 +1,5 @@
-
#include "Python.h"
+#include "pycore_long.h" // _PyLong_DigitValue
#if defined(__sgi) && !defined(_SGI_MP_SOURCE)
#define _SGI_MP_SOURCE