diff options
| author | Christian Heimes <christian@python.org> | 2015-04-16 17:21:54 +0200 |
|---|---|---|
| committer | Christian Heimes <christian@python.org> | 2015-04-16 17:21:54 +0200 |
| commit | 82adeffc13e50676b94011844865fe458070a24d (patch) | |
| tree | 97519d3a2065cb9c4958bd2bc546d6c28d49b4b4 | |
| parent | eb076ae06278d18ffae5213408fefbd3a986b681 (diff) | |
| download | cpython-git-82adeffc13e50676b94011844865fe458070a24d.tar.gz | |
Fix typo in assert statement
| -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 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. */ |
