Backport the removal of a __repr__ from 62251

This commit is contained in:
Benjamin Peterson 2008-04-13 02:05:48 +00:00
parent 7bb4d2d0fa
commit a3d19f35c4
1 changed files with 0 additions and 3 deletions

View File

@ -1346,9 +1346,6 @@ class TextIOWrapper(TextIOBase):
# - "bytes_..." for integer variables that count input bytes # - "bytes_..." for integer variables that count input bytes
# - "chars_..." for integer variables that count decoded characters # - "chars_..." for integer variables that count decoded characters
def __repr__(self):
return '<TIOW %x>' % id(self)
@property @property
def encoding(self): def encoding(self):
return self._encoding return self._encoding