commit | d5b635f1969fdd609f0aff5669c9ec30e61be62e | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Tue Mar 25 08:29:14 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Tue Mar 25 08:29:14 2008 +0000 |
tree | 1c854f8108e2b22d8c5ba4d529b6d99cd9f5f244 | |
parent | 80055f6295dd48274ae68d13806c7ee3c5b5882f [diff] [blame] |
Make Py3k warnings consistent w.r.t. punctuation; also respect the EOL 80 limit and supply more alternatives in warning messages.
diff --git a/Python/ast.c b/Python/ast.c index 8a317b8..1fc2324 100644 --- a/Python/ast.c +++ b/Python/ast.c
@@ -1363,7 +1363,7 @@ expr_ty expression; if (Py_Py3kWarningFlag) { if (PyErr_WarnExplicit(PyExc_DeprecationWarning, - "backquote not supported in 3.x", + "backquote not supported in 3.x; use repr()", c->c_filename, LINENO(n), NULL, NULL)) { return NULL;