diff options
author | Christian Heimes <christian@python.org> | 2015-04-16 15:21:54 (GMT) |
---|---|---|
committer | Christian Heimes <christian@python.org> | 2015-04-16 15:21:54 (GMT) |
commit | 82adeffc13e50676b94011844865fe458070a24d (patch) | |
tree | 97519d3a2065cb9c4958bd2bc546d6c28d49b4b4 /Modules | |
parent | eb076ae06278d18ffae5213408fefbd3a986b681 (diff) | |
download | cpython-82adeffc13e50676b94011844865fe458070a24d.zip cpython-82adeffc13e50676b94011844865fe458070a24d.tar.gz cpython-82adeffc13e50676b94011844865fe458070a24d.tar.bz2 |
Fix typo in assert statement
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_io/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index 3c52c80..145d93a 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. */ |