From: Christian Heimes Date: Thu, 16 Apr 2015 15:21:54 +0000 (+0200) Subject: Fix typo in assert statement X-Git-Tag: v3.5.0a4~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82adeffc13e50676b94011844865fe458070a24d;p=python Fix typo in assert statement --- diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index 3c52c802e3..145d93adeb 100644 --- a/Modules/_io/fileio.c +++ b/Modules/_io/fileio.c @@ -252,7 +252,7 @@ _io_FileIO___init___impl(fileio *self, PyObject *nameobj, const char *mode, 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. */