From 9f471c2c02400a5f56666d90f4243c54b3d09e52 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 8 Jul 2024 15:19:14 +0300 Subject: [PATCH] PyLong_GetSign will be added in 3.140a0 --- pythoncapi_compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pythoncapi_compat.h b/pythoncapi_compat.h index 1b59f93..51e8c0d 100644 --- a/pythoncapi_compat.h +++ b/pythoncapi_compat.h @@ -1339,8 +1339,8 @@ PyDict_SetDefaultRef(PyObject *d, PyObject *key, PyObject *default_value, #endif -// gh-116560 added PyLong_GetSign() to Python 3.14a4 -#if PY_VERSION_HEX < 0x030E00A1 +// gh-116560 added PyLong_GetSign() to Python 3.14.0a0 +#if PY_VERSION_HEX < 0x030E00A0 static inline int PyLong_GetSign(PyObject *obj, int *sign) { if (!PyLong_Check(obj)) {
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: