[pypy-commit] pypy default: Move some code to a more correct place.

alex_gaynor noreply at buildbot.pypy.org
Mon Aug 20 02:19:03 CEST 2012

Author: Alex Gaynor <alex.gaynor at gmail.com>
Changeset: r56761:944a60e07f3e
Date: 2012-08-19 12:33 -0400

Log:	Move some code to a more correct place.

diff --git a/pypy/objspace/flow/operation.py b/pypy/objspace/flow/operation.py
--- a/pypy/objspace/flow/operation.py
+++ b/pypy/objspace/flow/operation.py
@@ -210,6 +210,7 @@
     ('coerce',          coerce),
     ('iter',            iter),
     ('next',            next),
+    ('next',            __builtin__.next),
     ('get',             get),
     ('set',             set),
     ('delete',          delete),
@@ -236,7 +237,6 @@
         name = line[0]
         if hasattr(operator, name):
             Table.append((name, getattr(operator, name)))
-    Table.append(('next', __builtin__.next))
     # build the dictionaries
     for name, func in Table:
         if name not in FunctionByName:

More information about the pypy-commit mailing list