[Python-checkins] cpython: Fix typo in assert statement
christian.heimes
python-checkins at python.org
Thu Apr 16 17:22:03 CEST 2015
https://hg.python.org/cpython/rev/743c54a2830f
changeset: 95690:743c54a2830f
user: Christian Heimes <christian at python.org>
date: Thu Apr 16 17:21:54 2015 +0200
summary:
Fix typo in assert statement
files:
Modules/_io/fileio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c
--- a/Modules/_io/fileio.c
+++ b/Modules/_io/fileio.c
@@ -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. */
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list