summaryrefslogtreecommitdiffstats
path: root/Include/cpython/longobject.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-25 09:13:59 (GMT)
committerGitHub <noreply@github.com>2023-08-25 09:13:59 (GMT)
commite59a95238b76f518e936b6e70da9207d923964db (patch)
treedda31d8f166f311c82323a20effffeec499e3874 /Include/cpython/longobject.h
parent24aa249a6633249570978d6aae6f7b21581ee085 (diff)
downloadcpython-e59a95238b76f518e936b6e70da9207d923964db.zip
cpython-e59a95238b76f518e936b6e70da9207d923964db.tar.gz
cpython-e59a95238b76f518e936b6e70da9207d923964db.tar.bz2
gh-108444: Remove _PyLong_AsInt() function (#108461)
* Update Parser/asdl_c.py to regenerate Python/Python-ast.c. * Remove _PyLong_AsInt() alias to PyLong_AsInt().
Diffstat (limited to 'Include/cpython/longobject.h')
-rw-r--r--Include/cpython/longobject.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/cpython/longobject.h b/Include/cpython/longobject.h
index c96f351..7401566 100644
--- a/Include/cpython/longobject.h
+++ b/Include/cpython/longobject.h
@@ -2,9 +2,6 @@
# error "this header file must not be included directly"
#endif
-// Alias for backport compatibility
-#define _PyLong_AsInt PyLong_AsInt
-
PyAPI_FUNC(int) _PyLong_UnsignedShort_Converter(PyObject *, void *);
PyAPI_FUNC(int) _PyLong_UnsignedInt_Converter(PyObject *, void *);
PyAPI_FUNC(int) _PyLong_UnsignedLong_Converter(PyObject *, void *);