From dfad2734aa84ad86618525db7967c2cceb7abf90 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Fri, 30 Apr 2021 11:21:54 -0700 Subject: [PATCH] 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 --- stdlib/ftplib.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/ftplib.pyi b/stdlib/ftplib.pyi index d3e4758ae..bdb171654 100644 --- a/stdlib/ftplib.pyi +++ b/stdlib/ftplib.pyi @@ -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