There was an error while loading. Please reload this page.
1 parent eb076ae commit 82adeffCopy full SHA for 82adeff
1 file changed
Modules/_io/fileio.c
@@ -252,7 +252,7 @@ _io_FileIO___init___impl(fileio *self, PyObject *nameobj, const char *mode,
252
struct _Py_stat_struct fdfstat;
253
int async_err = 0;
254
255
- assert(PyFileIO_Check(oself));
+ assert(PyFileIO_Check(self));
256
if (self->fd >= 0) {
257
if (self->closefd) {
258
/* Have to close the existing file first. */
0 commit comments