Kaydet (Commit) 8e2f755c authored tarafından Georg Brandl's avatar Georg Brandl

Remove __repr__ that doesn't have any advantage compared to the standard one.

üst 5e696859
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment