Skip to content

Commit

Permalink
pyhacks: Update hack for io.BytesIO (3.8 ... 3.14) (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
remittor authored Feb 6, 2025
1 parent 5572bb3 commit eb6e60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastwsgi/pyhacks.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bytesio_t * get_bytesio_object(PyObject * io_BytesIO)
{
if (PY_MAJOR_VERSION != 3)
return NULL;
if (PY_MINOR_VERSION >= 8 && PY_MINOR_VERSION <= 11)
if (PY_MINOR_VERSION >= 8 && PY_MINOR_VERSION <= 14)
return (bytesio_t *)io_BytesIO;
return NULL;
}
Expand Down

0 comments on commit eb6e60b

Please sign in to comment.