Clean up a few Python 2 remnants (#8452)

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

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.