Skip to content

Commit 3660a01

Browse files
committed
fix py 3.10
1 parent 8e97165 commit 3660a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/lib-rt/int_ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ PyObject *CPyTagged_ToBytes(CPyTagged self, Py_ssize_t length, PyObject *byteord
605605
return result;
606606
}
607607

608-
#if PY_VERSION_HEX >= 0x030A0000
608+
#if PY_VERSION_HEX >= 0x030C0000
609609
// If not declared, declare it ourselves
610610
#ifndef PyLong_AsByteArray
611611
PyAPI_FUNC(int) PyLong_AsByteArray(

0 commit comments

Comments
 (0)