]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix an outdated URL in a SyntaxError message.
authorGuido van Rossum <guido@python.org>
Thu, 30 Aug 2007 00:10:46 +0000 (00:10 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 30 Aug 2007 00:10:46 +0000 (00:10 +0000)
Parser/tokenizer.c

index d86615faf82cb5669b70d4ea29124a032fffbb3e..776183d80582d7d7d92e548d44f4cc8e35a47e9d 100644 (file)
@@ -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);