Skip to content

Commit

Permalink
Fixed the type declaration for all_errors in ftplib.pyi. It is su…
Browse files Browse the repository at this point in the history
…pposed to be a variable, not a type alias. (#5271)

Co-authored-by: Eric Traut <erictr@microsoft.com>
  • Loading branch information
erictraut and msfterictraut authored Apr 30, 2021
1 parent bf7d6f6 commit dfad273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/ftplib.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class error_temp(Error): ...
class error_perm(Error): ...
class error_proto(Error): ...

all_errors = Tuple[Type[Exception], ...]
all_errors: Tuple[Type[Exception], ...]

class FTP:
debugging: int
Expand Down

0 comments on commit dfad273

Please sign in to comment.