]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove __repr__ that doesn't have any advantage compared to the standard one.
authorGeorg Brandl <georg@python.org>
Wed, 9 Apr 2008 18:40:09 +0000 (18:40 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 9 Apr 2008 18:40:09 +0000 (18:40 +0000)
Lib/io.py

index 87d5d5f6fe5988fbfc06ecd580724aa179343576..a5c66c2e239dd0dc7d905917ce77cd53b5a28618 100644 (file)
--- a/Lib/io.py
+++ b/Lib/io.py
@@ -1194,9 +1194,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