diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-13 02:52:26 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-13 02:52:26 (GMT) |
commit | 00fa03900cd89d8af4ab4c6b8b0782a7d718142f (patch) | |
tree | 437afeb264f79ebcc7f50c2c73ac8f16bce2c6d0 /Lib/_pyio.py | |
parent | cd92f37582865fe7d6ef6477344a7759f839a29e (diff) | |
download | cpython-00fa03900cd89d8af4ab4c6b8b0782a7d718142f.zip cpython-00fa03900cd89d8af4ab4c6b8b0782a7d718142f.tar.gz cpython-00fa03900cd89d8af4ab4c6b8b0782a7d718142f.tar.bz2 |
Issue 10899: Remove function type annotations from the stdlib
Diffstat (limited to 'Lib/_pyio.py')
-rw-r--r-- | Lib/_pyio.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class TextIOWrapper(TextIOBase): 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): |