Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21b731f

Browse files
committed
Fix an outdated URL in a SyntaxError message.
1 parent 8188e63 commit 21b731f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Parser/tokenizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ decoding_fgets(char *s, int size, struct tok_state *tok)
538538
"Non-UTF-8 code starting with '\\x%.2x' "
539539
"in file %.200s on line %i, "
540540
"but no encoding declared; "
541-
"see http://www.python.org/peps/pep-0263.html for details",
541+
"see http://python.org/dev/peps/pep-0263/ for details",
542542
badchar, tok->filename, tok->lineno + 1);
543543
PyErr_SetString(PyExc_SyntaxError, buf);
544544
return error_ret(tok);

0 commit comments

Comments
 (0)