Skip to content

Commit dfad273

Browse files
Fixed the type declaration for all_errors in ftplib.pyi. It is supposed to be a variable, not a type alias. (#5271)
Co-authored-by: Eric Traut <[email protected]>
1 parent bf7d6f6 commit dfad273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/ftplib.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class error_temp(Error): ...
2222
class error_perm(Error): ...
2323
class error_proto(Error): ...
2424

25-
all_errors = Tuple[Type[Exception], ...]
25+
all_errors: Tuple[Type[Exception], ...]
2626

2727
class FTP:
2828
debugging: int

0 commit comments

Comments
 (0)