ftplib: fix all_errors type to tuple of type of exception (#3910)

This commit is contained in:
Jocelyn Boullier
2020-04-05 18:02:34 +02:00
committed by GitHub
parent af3596f950
commit 60cdee5b2d

View File

@@ -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: ...