Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r89659:fd8e2f1e76e5
Date: 2017-01-18 13:18 +0100
http://bitbucket.org/pypy/pypy/changeset/fd8e2f1e76e5/

Log:    fix error message

diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -300,7 +300,7 @@
                 raise oefmt(space.w_RuntimeError,
                             "coroutine wrapper %R attempted "
                             "to recursively wrap %R",
-                            w_wrapper, self)
+                            w_wrapper, self.getcode())
             ec.in_coroutine_wrapper = True
             try:
                 w_gen = space.call_function(w_wrapper, w_gen)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to