Author: Ronan Lamy <[email protected]>
Branch: py3.6
Changeset: r94460:d3671e3e862c
Date: 2018-05-02 18:46 +0100
http://bitbucket.org/pypy/pypy/changeset/d3671e3e862c/
Log: fix translation
diff --git a/pypy/interpreter/pyparser/parsestring.py
b/pypy/interpreter/pyparser/parsestring.py
--- a/pypy/interpreter/pyparser/parsestring.py
+++ b/pypy/interpreter/pyparser/parsestring.py
@@ -119,8 +119,8 @@
if first_escape_error_char != '':
space.warn(
- space.newtext("invalid escape sequence '\\%c'"
- % first_escape_error_char),
+ space.newtext("invalid escape sequence '\\%s'"
+ % first_escape_error_char),
space.w_DeprecationWarning)
return space.newbytes(v)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit