Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r56761:944a60e07f3e
Date: 2012-08-19 12:33 -0400
http://bitbucket.org/pypy/pypy/changeset/944a60e07f3e/

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:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to