PEP585 update - mostly toplevels (#145178)

See #145101 for details.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/145178
Approved by: https://github.com/bobrenjc93
This commit is contained in:
Aaron Orenstein
2025-01-21 13:42:12 -08:00
committed by PyTorch MergeBot
parent 1ce533867f
commit f2cfe8b59f
39 changed files with 356 additions and 386 deletions

View File

@ -1,8 +1,8 @@
# mypy: allow-untyped-defs
import itertools
import unittest.mock
from collections.abc import Iterator
from contextlib import contextmanager
from typing import Iterator
import torch
import torch._C