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):