Skip to content

Commit 9025222

Browse files
Update mod.c
1 parent 29b58c6 commit 9025222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ static inline PyObject* Py_NewRef(PyObject* ob) {
1010
#if PY_MAJOR_VERSION != 3
1111
#error "Python 3 is needed to build"
1212
#endif
13-
#if PY_MINOR_VERSION == 11
13+
#if PY_MINOR_VERSION >= 11
1414
#define GET_CODE(frame) PyFrame_GetCode(frame);
1515
#define GET_LOCALS(frame) PyFrame_GetLocals(frame);
1616
#else

0 commit comments

Comments
 (0)