summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-03-04 11:18:52 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-03-04 11:18:52 (GMT)
commit1fcadcef408d788b1896ea3d9b4308c1f4c64d12 (patch)
treedc84a82c3f1e20b002657a7430ff9edbe83d53d7 /Modules
parent7fb111bb9e53324a622c0cf87fdbaeda288b947a (diff)
downloadcpython-1fcadcef408d788b1896ea3d9b4308c1f4c64d12.zip
cpython-1fcadcef408d788b1896ea3d9b4308c1f4c64d12.tar.gz
cpython-1fcadcef408d788b1896ea3d9b4308c1f4c64d12.tar.bz2
Fix failures introduced by buggy merge (2)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_iobase.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/_iobase.c b/Modules/_iobase.c
index 9ee2326..b5fef5b 100644
--- a/Modules/_iobase.c
+++ b/Modules/_iobase.c
@@ -459,9 +459,6 @@ IOBase_readline(PyObject *self, PyObject *args)
return NULL;
}
- if (_PyIOBase_checkClosed(self, Py_True) == NULL)
- return NULL;
-
if (PyObject_HasAttrString(self, "peek"))
has_peek = 1;