mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Remove __repr__ that doesn't have any advantage compared to the standard one.
This commit is contained in:
parent
5e69685999
commit
8e2f755cb4
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue