]> granicus.if.org Git - python/commitdiff
Backport the removal of a __repr__ from 62251
authorBenjamin Peterson <benjamin@python.org>
Sun, 13 Apr 2008 02:05:48 +0000 (02:05 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 13 Apr 2008 02:05:48 +0000 (02:05 +0000)
Lib/io.py

index 734f97853e12f6bba5e08e5cd1cd3ed4f553faff..213b0fc760793b12d392d2ad321649a2dbcd8318 100644 (file)
--- a/Lib/io.py
+++ b/Lib/io.py
@@ -1346,9 +1346,6 @@ class TextIOWrapper(TextIOBase):
     #   - "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