[Python-checkins] r73501 - python/trunk/Python/symtable.c

benjamin.peterson python-checkins at python.org
Mon Jun 22 01:01:07 CEST 2009


Author: benjamin.peterson
Date: Mon Jun 22 01:01:07 2009
New Revision: 73501
Log:
don't need to add the name 'lombda' as assigned
Modified:
 python/trunk/Python/symtable.c
Modified: python/trunk/Python/symtable.c
==============================================================================
--- python/trunk/Python/symtable.c	(original)
+++ python/trunk/Python/symtable.c	Mon Jun 22 01:01:07 2009
@@ -1213,8 +1213,7 @@
 		VISIT(st, expr, e->v.UnaryOp.operand);
 		break;
 case Lambda_kind: {
-		if (!GET_IDENTIFIER(lambda) ||
-		 !symtable_add_def(st, lambda, DEF_LOCAL))
+		if (!GET_IDENTIFIER(lambda))
 			return 0;
 		if (e->v.Lambda.args->defaults)
 			VISIT_SEQ(st, expr, e->v.Lambda.args->defaults);


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /