Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
411ca44f
Commit
411ca44f
authored
Apr 09, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove __repr__ that doesn't have any advantage compared to the standard one.
parent
94f2afb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
Lib/io.py
Lib/io.py
+0
-3
No files found.
Lib/io.py
View file @
411ca44f
...
@@ -1194,9 +1194,6 @@ class TextIOWrapper(TextIOBase):
...
@@ -1194,9 +1194,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment