mirror of https://github.com/python/cpython
Backport the removal of a __repr__ from 62251
This commit is contained in:
parent
7bb4d2d0fa
commit
a3d19f35c4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue