-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply PEP585 (use native types for type annotations) (#2461)
Summary: Pull Request resolved: #2461 PEP585 (implemented with Python 3.9) allows subscripting built-in and standard library types directly, to use them in typing annotations, rather than importing new classes from the typing module. This applies these changes throughout the codebase (excluding tutorials). Reviewed By: esantorella Differential Revision: D60967000 fbshipit-source-id: 66909aec9645b50c6c4b5d6050701878be630ed7
- Loading branch information
1 parent
c1b73b8
commit 5ffa491
Showing
133 changed files
with
930 additions
and
935 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.