mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[Code Clean] Remove deadcodes about Python3.9 [5/N] (#163644)
As the title stated. Pull Request resolved: https://github.com/pytorch/pytorch/pull/163644 Approved by: https://github.com/jansel ghstack dependencies: #163626, #163627, #163629, #163643
This commit is contained in:
@ -47,7 +47,7 @@ LINTER_CODE = "IMPORT_LINTER"
|
||||
CURRENT_FILE_NAME = os.path.basename(__file__)
|
||||
_MODULE_NAME_ALLOW_LIST: set[str] = set()
|
||||
|
||||
# Add builtin modules.
|
||||
# Add builtin modules of python.
|
||||
_MODULE_NAME_ALLOW_LIST.update(sys.stdlib_module_names)
|
||||
|
||||
# Add the allowed third party libraries. Please avoid updating this unless you
|
||||
|
Reference in New Issue
Block a user