changeset: 95690:743c54a2830f user: Christian Heimes date: Thu Apr 16 17:21:54 2015 +0200 files: Modules/_io/fileio.c description: Fix typo in assert statement diff -r 4e81b20e7a57 -r 743c54a2830f Modules/_io/fileio.c --- a/Modules/_io/fileio.c Thu Apr 16 11:58:11 2015 +0300 +++ b/Modules/_io/fileio.c Thu Apr 16 17:21:54 2015 +0200 @@ -252,7 +252,7 @@ struct _Py_stat_struct fdfstat; int async_err = 0; - assert(PyFileIO_Check(oself)); + assert(PyFileIO_Check(self)); if (self->fd >= 0) { if (self->closefd) { /* Have to close the existing file first. */