Clean up a few Python 2 remnants (#8452)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-07-31 19:19:18 +01:00
1 parent ca633bbde8
commit 4414246a15
5 files changed
+3 -24

No files matched your search

+1 -2
View File
@@ -4,8 +4,7 @@
Depends on pytype being installed.
If pytype is installed:
1. For every pyi, do nothing if it is in pytype_exclude_list.txt or is
Python 2-only.
1. For every pyi, do nothing if it is in pytype_exclude_list.txt.
2. Otherwise, call 'pytype.io.parse_pyi'.
Option two will load the file and all the builtins, typeshed dependencies. This
will also discover incorrect usage of imported modules.