Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1fcadce

Browse files
committed
Fix failures introduced by buggy merge (2)
1 parent 7fb111b commit 1fcadce

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

Lib/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"Mike Verdone <[email protected]>, "
4848
"Mark Russell <[email protected]>, "
4949
"Antoine Pitrou <[email protected]>, "
50-
"Amaury Forgeotdarc <[email protected]>")
50+
"Amaury Forgeot d'Arc <[email protected]>")
5151

5252
__all__ = ["BlockingIOError", "open", "IOBase", "RawIOBase", "FileIO",
5353
"BytesIO", "StringIO", "BufferedIOBase",

Modules/_iobase.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,6 @@ IOBase_readline(PyObject *self, PyObject *args)
459459
return NULL;
460460
}
461461

462-
if (_PyIOBase_checkClosed(self, Py_True) == NULL)
463-
return NULL;
464-
465462
if (PyObject_HasAttrString(self, "peek"))
466463
has_peek = 1;
467464

0 commit comments

Comments
 (0)