[pypy-commit] pypy default: Tiny cleanup

alex_gaynor noreply at buildbot.pypy.org
Tue Jun 12 17:25:20 CEST 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r55620:3539192b6737
Date: 2012-06-12 10:25 -0500
http://bitbucket.org/pypy/pypy/changeset/3539192b6737/

Log:	Tiny cleanup

diff --git a/pypy/rlib/parsing/parsing.py b/pypy/rlib/parsing/parsing.py
--- a/pypy/rlib/parsing/parsing.py
+++ b/pypy/rlib/parsing/parsing.py
@@ -110,8 +110,7 @@
             lastexpansion = len(rule.expansions) - 1
             subsymbol = None
             error = None
-            for expansionindex in range(len(rule.expansions)):
-                expansion = rule.expansions[expansionindex]
+            for expansion in rule.expansions:
                 curr = i
                 children = []
                 for j in range(len(expansion)):


More information about the pypy-commit mailing list