From 00fa03900cd89d8af4ab4c6b8b0782a7d718142f Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 13 Jan 2011 02:52:26 +0000 Subject: [PATCH] Issue 10899: Remove function type annotations from the stdlib --- Lib/_pyio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 93626e2529..39ddc82384 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): -- 2.50.1