From: Guido van Rossum Date: Thu, 30 Aug 2007 00:10:46 +0000 (+0000) Subject: Fix an outdated URL in a SyntaxError message. X-Git-Tag: v3.0a1~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21b731fb7798218a0e59e6db204d1d43d2a1e820;p=thirdparty%2FPython%2Fcpython.git Fix an outdated URL in a SyntaxError message. --- diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index d86615faf82c..776183d80582 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -538,7 +538,7 @@ decoding_fgets(char *s, int size, struct tok_state *tok) "Non-UTF-8 code starting with '\\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);