mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
ftplib: fix all_errors type to tuple of type of exception (#3910)
This commit is contained in:
@@ -37,7 +37,7 @@ class error_temp(Error): ...
|
||||
class error_perm(Error): ...
|
||||
class error_proto(Error): ...
|
||||
|
||||
all_errors = Tuple[Exception, ...]
|
||||
all_errors = Tuple[Type[Exception], ...]
|
||||
|
||||
class _Readable(Protocol):
|
||||
def read(self, __length: int) -> bytes: ...
|
||||
|
||||
Reference in New Issue
Block a user