We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e82c2ca commit a3b67fcCopy full SHA for a3b67fc
Modules/_io/fileio.c
@@ -1293,8 +1293,8 @@ fileio_get_mode(PyObject *op, void *closure)
1293
static PyObject *
1294
fileio_get_blksize(PyObject *op, void *closure)
1295
{
1296
- fileio *self = PyFileIO_CAST(op);
1297
#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
+ fileio* self = PyFileIO_CAST(op);
1298
if (self->stat_atopen != NULL && self->stat_atopen->st_blksize > 1) {
1299
return PyLong_FromLong(self->stat_atopen->st_blksize);
1300
}
0 commit comments