mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Add some XXX comments for Guido to look at.
This commit is contained in:
parent
28524c7f10
commit
8b41c3dc28
@ -166,6 +166,8 @@ class FileIO(RawIOBase):
|
||||
self._seekable = True
|
||||
return self._seekable
|
||||
|
||||
# XXX(nnorwitz): is there any reason to redefine __enter__ & __exit__?
|
||||
# Both already have the same impl in the base class.
|
||||
def __enter__(self):
|
||||
return self
|
||||
|
||||
@ -203,6 +205,8 @@ class SocketIO(RawIOBase):
|
||||
def writable(self):
|
||||
return "w" in self._mode
|
||||
|
||||
# XXX(nnorwitz)??? def fileno(self): return self._sock.fileno()
|
||||
|
||||
|
||||
class BytesIO(RawIOBase):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user