mirror of
				https://github.com/pytorch/pytorch.git
				synced 2025-11-04 16:04:58 +08:00 
			
		
		
		
	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:
		
				
					committed by
					
						
						PyTorch MergeBot
					
				
			
			
				
	
			
			
			
						parent
						
							1ce533867f
						
					
				
				
					commit
					f2cfe8b59f
				
			@ -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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user