Author: Manuel Jacob
Branch: py3k
Changeset: r61382:f337b3bbb4be
Date: 2013-02-17 22:33 +0100
http://bitbucket.org/pypy/pypy/changeset/f337b3bbb4be/

Log:    Use builtinify() instead.

diff --git a/lib_pypy/_functools.py b/lib_pypy/_functools.py
--- a/lib_pypy/_functools.py
+++ b/lib_pypy/_functools.py
@@ -1,7 +1,10 @@
 """ Supplies the internal functions for functools.py in the standard library 
"""
+from __pypy__ import builtinify
+
 
 sentinel = object()
 
+@builtinify
 def reduce(func, sequence, initial=sentinel):
     """reduce(function, sequence[, initial]) -> value
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to