[Python-checkins] r75082 - python/branches/py3k/Python/ast.c

benjamin.peterson python-checkins at python.org
Sun Sep 27 16:09:04 CEST 2009


Author: benjamin.peterson
Date: Sun Sep 27 16:08:59 2009
New Revision: 75082
Log:
star_expr now always has two nodes
Modified:
 python/branches/py3k/Python/ast.c
Modified: python/branches/py3k/Python/ast.c
==============================================================================
--- python/branches/py3k/Python/ast.c	(original)
+++ python/branches/py3k/Python/ast.c	Sun Sep 27 16:08:59 2009
@@ -1889,9 +1889,7 @@
 break;
 
 case star_expr:
- if (TYPE(CHILD(n, 0)) == STAR)
-	 return ast_for_starred(c, n);
- /* Fall through to generic case. */
+	 return ast_for_starred(c, n);
 /* The next five cases all handle BinOps. The main body of code
 is the same in each case, but the switch turned inside out to
 reuse the code for each type of operator.


More information about the Python-checkins mailing list

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