mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	This reverts commits044a1048caand1be456ae9d, adapting the code to changes that happened after it.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			126 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			126 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from __future__ import annotations
 | 
						|
 | 
						|
import dataclasses
 | 
						|
 | 
						|
 | 
						|
class Foo:
 | 
						|
    pass
 | 
						|
 | 
						|
 | 
						|
@dataclasses.dataclass
 | 
						|
class Bar:
 | 
						|
    foo: Foo
 |