commit | 00fa03900cd89d8af4ab4c6b8b0782a7d718142f | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Jan 13 02:52:26 2011 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Jan 13 02:52:26 2011 +0000 |
tree | 437afeb264f79ebcc7f50c2c73ac8f16bce2c6d0 | |
parent | cd92f37582865fe7d6ef6477344a7759f839a29e [diff] [blame] |
Issue 10899: Remove function type annotations from the stdlib
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 93626e2..39ddc82 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py
@@ -1567,7 +1567,7 @@ def isatty(self): return self.buffer.isatty() - def write(self, s: str): + def write(self, s): if self.closed: raise ValueError("write to closed file") if not isinstance(s, str):