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
cce92b27
Commit
cce92b27
authored
Apr 10, 2007
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BufferedIOBase and TextIOBase should derive from IOBase, not from RawIOBase!
parent
141f767d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Lib/io.py
Lib/io.py
+2
-3
No files found.
Lib/io.py
View file @
cce92b27
...
...
@@ -354,7 +354,7 @@ class SocketIO(RawIOBase):
return
self
.
_sock
.
fileno
()
class
BufferedIOBase
(
Raw
IOBase
):
class
BufferedIOBase
(
IOBase
):
"""Base class for buffered IO objects.
...
...
@@ -779,8 +779,7 @@ class BufferedRandom(BufferedWriter, BufferedReader):
return
BufferedWriter
.
write
(
self
,
b
)
# XXX That's not the right base class
class
TextIOBase
(
BufferedIOBase
):
class
TextIOBase
(
IOBase
):
"""Base class for text I/O.
...
...
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