From 8e2f755cb42991627cd517366c5b9d78147d8521 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 9 Apr 2008 18:40:09 +0000 Subject: Remove __repr__ that doesn't have any advantage compared to the standard one. --- Lib/io.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/io.py b/Lib/io.py index 87d5d5f..a5c66c2 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 -- cgit v0.12