mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	 1f08d16c90
			
		
	
	
		1f08d16c90
		
			
		
	
	
	
	
		
			
			Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>.
(cherry picked from commit 784905dbef)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
		
	
			
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			138 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			138 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Tests that top-level ClassVar is not allowed
 | |
| 
 | |
| from __future__ import annotations
 | |
| 
 | |
| from typing import ClassVar
 | |
| 
 | |
| wrong: ClassVar[int] = 1
 |