Skip to content

Commit eb6e60b

Browse files
authored
pyhacks: Update hack for io.BytesIO (3.8 ... 3.14) (#56)
1 parent 5572bb3 commit eb6e60b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastwsgi/pyhacks.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ bytesio_t * get_bytesio_object(PyObject * io_BytesIO)
1414
{
1515
if (PY_MAJOR_VERSION != 3)
1616
return NULL;
17-
if (PY_MINOR_VERSION >= 8 && PY_MINOR_VERSION <= 11)
17+
if (PY_MINOR_VERSION >= 8 && PY_MINOR_VERSION <= 14)
1818
return (bytesio_t *)io_BytesIO;
1919
return NULL;
2020
}

0 commit comments

Comments
 (0)