Fix failures introduced by buggy merge (2)

This commit is contained in:
Antoine Pitrou 2009-03-04 11:18:52 +00:00
parent 7fb111bb9e
commit 1fcadcef40
2 changed files with 1 additions and 4 deletions

View file

@ -47,7 +47,7 @@ __author__ = ("Guido van Rossum <guido@python.org>, "
"Mike Verdone <mike.verdone@gmail.com>, "
"Mark Russell <mark.russell@zen.co.uk>, "
"Antoine Pitrou <solipsis@pitrou.net>, "
"Amaury Forgeotdarc <amauryfa@gmail.com>")
"Amaury Forgeot d'Arc <amauryfa@gmail.com>")
__all__ = ["BlockingIOError", "open", "IOBase", "RawIOBase", "FileIO",
"BytesIO", "StringIO", "BufferedIOBase",

View file

@ -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;