summaryrefslogtreecommitdiffstats
path: root/Lib/_pyio.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-13 02:52:26 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-13 02:52:26 (GMT)
commit00fa03900cd89d8af4ab4c6b8b0782a7d718142f (patch)
tree437afeb264f79ebcc7f50c2c73ac8f16bce2c6d0 /Lib/_pyio.py
parentcd92f37582865fe7d6ef6477344a7759f839a29e (diff)
downloadcpython-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.py2
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):