summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-04-09 18:40:09 (GMT)
committerGeorg Brandl <georg@python.org>2008-04-09 18:40:09 (GMT)
commit8e2f755cb42991627cd517366c5b9d78147d8521 (patch)
tree6936e314177c1feb0b9632bae2d80d29ec255375 /Lib
parent5e69685999c0f44af3536ac71a2a59e70b7ea185 (diff)
downloadcpython-8e2f755cb42991627cd517366c5b9d78147d8521.zip
cpython-8e2f755cb42991627cd517366c5b9d78147d8521.tar.gz
cpython-8e2f755cb42991627cd517366c5b9d78147d8521.tar.bz2
Remove __repr__ that doesn't have any advantage compared to the standard one.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/io.py3
1 files changed, 0 insertions, 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 '<TIOW %x>' % id(self)
-
@property
def encoding(self):
return self._encoding