@@ -1773,6 +1773,12 @@ GzipReader_readable(GzipReader *self, PyObject *Py_UNUSED(ignore))
1773
1773
Py_RETURN_TRUE ;
1774
1774
}
1775
1775
1776
+ static PyObject *
1777
+ GzipReader_writable (GzipReader * self , PyObject * Py_UNUSED (ignore ))
1778
+ {
1779
+ Py_RETURN_TRUE ;
1780
+ }
1781
+
1776
1782
static PyObject *
1777
1783
GzipReader_seekable (GzipReader * self , PyObject * Py_UNUSED (ignore )) {
1778
1784
return PyObject_CallMethod (self -> fp , "seekable" , NULL );
@@ -1806,6 +1812,7 @@ GzipReader_get_closed(GzipReader *self, void *Py_UNUSED(closure))
1806
1812
static PyMethodDef GzipReader_methods [] = {
1807
1813
{"readinto" , (PyCFunction )GzipReader_readinto , METH_O , NULL },
1808
1814
{"readable" , (PyCFunction )GzipReader_readable , METH_NOARGS , NULL },
1815
+ {"writable" , (PyCFunction )GzipReader_writable , METH_NOARGS , NULL },
1809
1816
{"seekable" , (PyCFunction )GzipReader_seekable , METH_NOARGS , NULL },
1810
1817
{"tell" , (PyCFunction )GzipReader_tell , METH_NOARGS , NULL },
1811
1818
{"seek" , (PyCFunction )GzipReader_seek , METH_VARARGS | METH_KEYWORDS , NULL },
0 commit comments