summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.c
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-03-30 11:00:27 (GMT)
committerGitHub <noreply@github.com>2022-03-30 11:00:27 (GMT)
commit6881ea936e277b1733bee581c4e59e3a5d53bb29 (patch)
tree6e3e42543aeec32f83ccb3592cc05889626e2dde /Parser/tokenizer.c
parentd8f530fe329c6bd9ad6e1a9db9aa32b465c2d67f (diff)
downloadcpython-6881ea936e277b1733bee581c4e59e3a5d53bb29.zip
cpython-6881ea936e277b1733bee581c4e59e3a5d53bb29.tar.gz
cpython-6881ea936e277b1733bee581c4e59e3a5d53bb29.tar.bz2
bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r--Parser/tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 0941bca..13116d0 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -523,7 +523,7 @@ ensure_utf8(char *line, struct tok_state *tok)
"Non-UTF-8 code starting with '\\x%.2x' "
"in file %U on line %i, "
"but no encoding declared; "
- "see https://python.org/dev/peps/pep-0263/ for details",
+ "see https://peps.python.org/pep-0263/ for details",
badchar, tok->filename, tok->lineno + 1);
return 0;
}