mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Upgrade mypy python_version to 3.11 (#118418)
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/118418 Approved by: https://github.com/albanD ghstack dependencies: #118414
This commit is contained in:
committed by
PyTorch MergeBot
parent
978faf1fa2
commit
89a1175e0e
@ -65,7 +65,7 @@ try:
|
||||
|
||||
LockType = _thread.LockType
|
||||
except ImportError:
|
||||
import _dummy_thread
|
||||
import _dummy_thread # type: ignore[import-not-found]
|
||||
|
||||
LockType = _dummy_thread.LockType
|
||||
|
||||
|
Reference in New Issue
Block a user