mirror of
https://github.com/jamesroberts/fastwsgi.git
synced 2025-12-20 05:39:31 -06:00
pyhacks: Update hack for io.BytesIO (3.8 ... 3.14) (#56)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user