Skip to content

Commit ea1f7f6

Browse files
authored
PyLong_GetSign will be added in 3.140a0 (#102)
1 parent 18d1df7 commit ea1f7f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythoncapi_compat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,8 +1339,8 @@ PyDict_SetDefaultRef(PyObject *d, PyObject *key, PyObject *default_value,
13391339
#endif
13401340

13411341

1342-
// gh-116560 added PyLong_GetSign() to Python 3.14a4
1343-
#if PY_VERSION_HEX < 0x030E00A1
1342+
// gh-116560 added PyLong_GetSign() to Python 3.14.0a0
1343+
#if PY_VERSION_HEX < 0x030E00A0
13441344
static inline int PyLong_GetSign(PyObject *obj, int *sign)
13451345
{
13461346
if (!PyLong_Check(obj)) {

0 commit comments

Comments
 (0)