mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	 03185f0c15
			
		
	
	
		03185f0c15
		
			
		
	
	
	
	
		
			
			* gh-106752: Move zipfile._path into its own package so it may have supplementary behavior. * Add blurb
		
			
				
	
	
		
			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)
 |