From a28ea04b427748252e6837a471e9221305738625 Mon Sep 17 00:00:00 2001 From: Jan Varho Date: Tue, 17 Jun 2014 15:55:33 +0300 Subject: [PATCH] Fix link to PEP 263 in encoding error message --- Parser/tokenizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 16d311c..3e4af53 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -534,7 +534,7 @@ decoding_fgets(char *s, int size, struct tok_state *tok) "Non-ASCII character '\\x%.2x' " "in file %.200s on line %i, " "but no encoding declared; " - "see http://www.python.org/peps/pep-0263.html for details", + "see http://python.org/dev/peps/pep-0263/ for details", badchar, tok->filename, tok->lineno + 1); PyErr_SetString(PyExc_SyntaxError, buf); return error_ret(tok); -- 1.9.1