mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
change Change IO/IOBase.__exit__ return type to None (#7471)
This commit is contained in:
@@ -1026,7 +1026,7 @@ class IO(Iterator[AnyStr], Generic[AnyStr]):
|
||||
@abstractmethod
|
||||
def __exit__(
|
||||
self, __t: Type[BaseException] | None, __value: BaseException | None, __traceback: TracebackType | None
|
||||
) -> bool | None: ...
|
||||
) -> None: ...
|
||||
|
||||
class BinaryIO(IO[bytes]):
|
||||
@abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user