Author: Maciej Fijalkowski <[email protected]>
Branch: pypy-in-a-box
Changeset: r56143:9af0c40be623
Date: 2012-07-18 15:03 +0200
http://bitbucket.org/pypy/pypy/changeset/9af0c40be623/

Log:    rename the function

diff --git a/pypy/objspace/std/embedding.py b/pypy/objspace/std/embedding.py
--- a/pypy/objspace/std/embedding.py
+++ b/pypy/objspace/std/embedding.py
@@ -66,5 +66,6 @@
     for name, (func, argtypes, restype) in FUNCTIONS.iteritems():
         def newfunc(*args):
             return func(space, *args)
+        newfunc.func_name = 'pypy_' + name
         deco = entrypoint("embedding", argtypes, 'pypy_' + name, relax=True)
         deco(newfunc)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to