summaryrefslogtreecommitdiffstats
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorscoder <stefan_ml@behnel.de>2023-10-25 09:33:48 (GMT)
committerGitHub <noreply@github.com>2023-10-25 09:33:48 (GMT)
commita8a89fcd1ff03bb2f10126e0973faa74871874c3 (patch)
tree6a7a276a72c43846f12edeb38a27c86ac387757d /Modules/arraymodule.c
parentb2ba2985275d1200e5c44c3f224d754141fc5292 (diff)
downloadcpython-a8a89fcd1ff03bb2f10126e0973faa74871874c3.zip
cpython-a8a89fcd1ff03bb2f10126e0973faa74871874c3.tar.gz
cpython-a8a89fcd1ff03bb2f10126e0973faa74871874c3.tar.bz2
gh-106320: Re-add some PyLong/PyDict C-API functions (GH-#111162)
* gh-106320: Re-add _PyLong_FromByteArray(), _PyLong_AsByteArray() and _PyLong_GCD() to the public header files since they are used by third-party packages and there is no efficient replacement. See https://github.com/python/cpython/issues/111140 See https://github.com/python/cpython/issues/111139 * gh-111262: Re-add _PyDict_Pop() to have a C-API until a new public one is designed.
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index cf74690..b97ade6 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -11,7 +11,6 @@
#include "pycore_bytesobject.h" // _PyBytes_Repeat
#include "pycore_call.h" // _PyObject_CallMethod()
#include "pycore_ceval.h" // _PyEval_GetBuiltin()
-#include "pycore_long.h" // _PyLong_FromByteArray()
#include "pycore_modsupport.h" // _PyArg_NoKeywords()
#include "pycore_moduleobject.h" // _PyModule_GetState()