mirror of
				https://github.com/python/cpython.git
				synced 2025-11-02 22:51:25 +00:00 
			
		
		
		
	Move test_dataclasses.py and its "dataclass_*.py" modules into the new Lib/test/test_dataclasses/ subdirectory.
		
			
				
	
	
		
			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
 |