summaryrefslogtreecommitdiffstats
path: root/Modules/_io
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2015-04-16 15:21:54 (GMT)
committerChristian Heimes <christian@python.org>2015-04-16 15:21:54 (GMT)
commit82adeffc13e50676b94011844865fe458070a24d (patch)
tree97519d3a2065cb9c4958bd2bc546d6c28d49b4b4 /Modules/_io
parenteb076ae06278d18ffae5213408fefbd3a986b681 (diff)
downloadcpython-82adeffc13e50676b94011844865fe458070a24d.zip
cpython-82adeffc13e50676b94011844865fe458070a24d.tar.gz
cpython-82adeffc13e50676b94011844865fe458070a24d.tar.bz2
Fix typo in assert statement
Diffstat (limited to 'Modules/_io')
-rw-r--r--Modules/_io/fileio.c2
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. */