diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-24 16:53:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 16:53:50 (GMT) |
commit | c55e73112c7b0574d05a522015d0c927de266525 (patch) | |
tree | 8f1035a646c7b94afc0c1f2c250d009c99a37f36 /Modules/_struct.c | |
parent | 7f316763402a7d5556deecc3acd06cb719e189b3 (diff) | |
download | cpython-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/_struct.c')
-rw-r--r-- | Modules/_struct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c index 425715a..606ae5e 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c @@ -9,6 +9,7 @@ #include "Python.h" #include "pycore_bytesobject.h" // _PyBytesWriter +#include "pycore_long.h" // _PyLong_AsByteArray() #include "pycore_moduleobject.h" // _PyModule_GetState() #include <ctype.h> |