From 8e2f755cb42991627cd517366c5b9d78147d8521 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 9 Apr 2008 18:40:09 +0000 Subject: [PATCH] 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 87d5d5f6fe5..a5c66c2e239 100644 --- a/Lib/io.py +++ b/Lib/io.py @@ -1194,9 +1194,6 @@ def __init__(self, buffer, encoding=None, errors=None, newline=None, # - "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