Author: Armin Rigo <[email protected]>
Branch:
Changeset: r83483:648874ef8243
Date: 2016-04-01 09:30 +0100
http://bitbucket.org/pypy/pypy/changeset/648874ef8243/
Log: Another translation fix attempt
diff --git a/pypy/module/__pypy__/interp_magic.py
b/pypy/module/__pypy__/interp_magic.py
--- a/pypy/module/__pypy__/interp_magic.py
+++ b/pypy/module/__pypy__/interp_magic.py
@@ -181,7 +181,7 @@
elif space.is_w(space.type(w_obj), space.w_float):
jit.promote(space.float_w(w_obj))
elif space.is_w(space.type(w_obj), space.w_str):
- jit.promote_string(space.unicode_w(w_obj))
+ jit.promote_string(space.str_w(w_obj))
elif space.is_w(space.type(w_obj), space.w_unicode):
raise OperationError(space.w_TypeError, space.wrap(
"promoting unicode unsupported"))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit