[Python-checkins] r87981 - python/branches/py3k/Lib/_pyio.py

raymond.hettinger python-checkins at python.org
Thu Jan 13 03:52:26 CET 2011


Author: raymond.hettinger
Date: Thu Jan 13 03:52:26 2011
New Revision: 87981
Log:
Issue 10899: Remove function type annotations from the stdlib
Modified:
 python/branches/py3k/Lib/_pyio.py
Modified: python/branches/py3k/Lib/_pyio.py
==============================================================================
--- python/branches/py3k/Lib/_pyio.py	(original)
+++ python/branches/py3k/Lib/_pyio.py	Thu Jan 13 03:52:26 2011
@@ -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):


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /