mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix failures introduced by buggy merge (2)
This commit is contained in:
parent
7fb111bb9e
commit
1fcadcef40
2 changed files with 1 additions and 4 deletions
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue