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

This commit is contained in:
Jocelyn Boullier authored and GitHub committed 2020-04-05 09:02:34 -07:00
1 parent af3596f950
commit 60cdee5b2d
1 file changed
+1 -1
+1 -1
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: ...