mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-01 17:22:17 +08:00
Address review feedback
This commit is contained in:
1 parent
d390ef3161
commit
9f4a8d3df6
3 files changed
+6
-6
No files matched your search
+1
-1
@@ -284,7 +284,7 @@ class IO(Iterable[AnyStr], Generic[AnyStr]):
|
||||
@abstractmethod
|
||||
def __enter__(self) -> 'IO[AnyStr]': ...
|
||||
@abstractmethod
|
||||
def __exit__(self, t: type, value: Any, traceback: Any) -> bool: ...
|
||||
def __exit__(self, t: type = None, value: BaseException = None, traceback: Any = None) -> bool: ...
|
||||
|
||||
class BinaryIO(IO[bytes]):
|
||||
# TODO readinto
|
||||
|
||||
Reference in new issue
Block a user