summaryrefslogtreecommitdiffstats
path: root/Lib/_pyio.py
diff options
context:
space:
mode:
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):