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:
Edward Z. Yang
2024-01-26 18:55:54 -08:00
committed by PyTorch MergeBot
parent 978faf1fa2
commit 89a1175e0e
6 changed files with 6 additions and 8 deletions

View File

@ -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