[Python-checkins] r62310 - python/trunk/Lib/io.py

benjamin.peterson python-checkins at python.org
Sun Apr 13 04:05:48 CEST 2008


Author: benjamin.peterson
Date: Sun Apr 13 04:05:48 2008
New Revision: 62310

Log:
Backport the removal of a __repr__ from 62251


Modified:
   python/trunk/Lib/io.py

Modified: python/trunk/Lib/io.py
==============================================================================
--- python/trunk/Lib/io.py	(original)
+++ python/trunk/Lib/io.py	Sun Apr 13 04:05:48 2008
@@ -1346,9 +1346,6 @@
     #   - "bytes_..." for integer variables that count input bytes
     #   - "chars_..." for integer variables that count decoded characters
 
-    def __repr__(self):
-        return '<TIOW %x>' % id(self)
-
     @property
     def encoding(self):
         return self._encoding


More information about the Python-checkins mailing list