Commit 00fa0390 authored by Raymond Hettinger's avatar Raymond Hettinger

Issue 10899: Remove function type annotations from the stdlib

parent cd92f375
...@@ -1567,7 +1567,7 @@ class TextIOWrapper(TextIOBase): ...@@ -1567,7 +1567,7 @@ class TextIOWrapper(TextIOBase):
def isatty(self): def isatty(self):
return self.buffer.isatty() return self.buffer.isatty()
def write(self, s: str): def write(self, s):
if self.closed: if self.closed:
raise ValueError("write to closed file") raise ValueError("write to closed file")
if not isinstance(s, str): if not isinstance(s, str):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment