From: Benjamin Peterson Date: Sun, 13 Apr 2008 02:05:48 +0000 (+0000) Subject: Backport the removal of a __repr__ from 62251 X-Git-Tag: v2.6a3~204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3d19f35c49b5eb8f7089d851629b299574e5c35;p=python Backport the removal of a __repr__ from 62251 --- diff --git a/Lib/io.py b/Lib/io.py index 734f97853e..213b0fc760 100644 --- 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 '' % id(self) - @property def encoding(self): return self._encoding