From: Georg Brandl Date: Wed, 9 Apr 2008 18:40:09 +0000 (+0000) Subject: Remove __repr__ that doesn't have any advantage compared to the standard one. X-Git-Tag: v3.0a5~115 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e2f755cb42991627cd517366c5b9d78147d8521;p=thirdparty%2FPython%2Fcpython.git Remove __repr__ that doesn't have any advantage compared to the standard one. --- diff --git a/Lib/io.py b/Lib/io.py index 87d5d5f6fe59..a5c66c2e239d 100644 --- 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 '' % id(self) - @property def encoding(self): return self._encoding