mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
	
		
			182 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			182 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								from __future__ import nested_scopes
							 | 
						||
| 
								 | 
							
								from __future__ import division
							 | 
						||
| 
								 | 
							
								from __future__ import nested_scopes
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								def f(x):
							 | 
						||
| 
								 | 
							
								    def g(y):
							 | 
						||
| 
								 | 
							
								        return y // x
							 | 
						||
| 
								 | 
							
								    return g
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								print f(2)(5)
							 |