summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs/multibytecodec.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-24 16:53:50 (GMT)
committerGitHub <noreply@github.com>2023-08-24 16:53:50 (GMT)
commitc55e73112c7b0574d05a522015d0c927de266525 (patch)
tree8f1035a646c7b94afc0c1f2c250d009c99a37f36 /Modules/cjkcodecs/multibytecodec.c
parent7f316763402a7d5556deecc3acd06cb719e189b3 (diff)
downloadcpython-c55e73112c7b0574d05a522015d0c927de266525.zip
cpython-c55e73112c7b0574d05a522015d0c927de266525.tar.gz
cpython-c55e73112c7b0574d05a522015d0c927de266525.tar.bz2
gh-106320: Remove private PyLong C API functions (#108429)
Remove private PyLong C API functions: * _PyLong_AsByteArray() * _PyLong_DivmodNear() * _PyLong_Format() * _PyLong_Frexp() * _PyLong_FromByteArray() * _PyLong_FromBytes() * _PyLong_GCD() * _PyLong_Lshift() * _PyLong_Rshift() Move these functions to the internal C API. No longer export _PyLong_FromBytes() function.
Diffstat (limited to 'Modules/cjkcodecs/multibytecodec.c')
-rw-r--r--Modules/cjkcodecs/multibytecodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/cjkcodecs/multibytecodec.c b/Modules/cjkcodecs/multibytecodec.c
index 5d3c16a..7c1da90 100644
--- a/Modules/cjkcodecs/multibytecodec.c
+++ b/Modules/cjkcodecs/multibytecodec.c
@@ -9,6 +9,7 @@
#endif
#include "Python.h"
+#include "pycore_long.h" // _PyLong_FromByteArray()
#include "multibytecodec.h"
#include "clinic/multibytecodec.c.h"