mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	 14d6e197cc
			
		
	
	
		14d6e197cc
		
			
		
	
	
	
	
		
			
			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
 |