mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Use <lamba> as the function name for lambdas (matches old compiler).
This commit is contained in:
		
							parent
							
								
									ec97a28b60
								
							
						
					
					
						commit
						ccd19218bc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1961,7 +1961,7 @@ compiler_lambda(struct compiler *c, expr_ty e)
 | 
			
		|||
	arguments_ty args = e->v.Lambda.args;
 | 
			
		||||
	assert(e->kind == Lambda_kind);
 | 
			
		||||
 | 
			
		||||
	name = PyString_InternFromString("lambda");
 | 
			
		||||
	name = PyString_InternFromString("<lambda>");
 | 
			
		||||
	if (!name)
 | 
			
		||||
		return 0;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue