Author: Ronan Lamy <ronan.l...@gmail.com>
Branch: 
Changeset: r73907:37141a493a83
Date: 2014-10-12 23:00 +0100
http://bitbucket.org/pypy/pypy/changeset/37141a493a83/

Log:    @analyzer_for should return the function unchanged

diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeeper.py
--- a/rpython/annotator/bookkeeper.py
+++ b/rpython/annotator/bookkeeper.py
@@ -29,7 +29,7 @@
 def analyzer_for(func):
     def wrapped(ann_func):
         BUILTIN_ANALYZERS[func] = ann_func
-        return func
+        return ann_func
     return wrapped
 
 class Bookkeeper(object):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to