mirror of
				https://github.com/python/cpython.git
				synced 2025-10-26 03:04:41 +00:00 
			
		
		
		
	 93f22d30eb
			
		
	
	
		93f22d30eb
		
			
		
	
	
	
	
		
			
			* gh-98098: Move zipfile into a package. * Moved test_zipfile to a package * Extracted module for test_path. * Add blurb * Add jaraco as owner of zipfile.Path. * Synchronize with minor changes found at jaraco/zipp@d9e7f4352d. * gh-98108: Sync with zipp 3.9.1 adding pickleability.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			211 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			211 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import functools
 | |
| 
 | |
| 
 | |
| # from jaraco.functools 3.5.2
 | |
| def compose(*funcs):
 | |
|     def compose_two(f1, f2):
 | |
|         return lambda *args, **kwargs: f1(f2(*args, **kwargs))
 | |
| 
 | |
|     return functools.reduce(compose_two, funcs)
 |