aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-03-30 14:00:27 +0300
committerGitHub <noreply@github.com>2022-03-30 12:00:27 +0100
commit6881ea936e277b1733bee581c4e59e3a5d53bb29 (patch)
tree6e3e42543aeec32f83ccb3592cc05889626e2dde /Lib/distutils/command/build_ext.py
parentd8f530fe329c6bd9ad6e1a9db9aa32b465c2d67f (diff)
downloadcpython-6881ea936e277b1733bee581c4e59e3a5d53bb29.tar.gz
cpython-6881ea936e277b1733bee581c4e59e3a5d53bb29.zip
bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)
Diffstat (limited to 'Lib/distutils/command/build_ext.py')
-rw-r--r--Lib/distutils/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 1a9bd1200f8..f287b349984 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -692,7 +692,7 @@ class build_ext(Command):
suffix = '_' + ext.name.split('.')[-1]
try:
# Unicode module name support as defined in PEP-489
- # https://www.python.org/dev/peps/pep-0489/#export-hook-name
+ # https://peps.python.org/pep-0489/#export-hook-name
suffix.encode('ascii')
except UnicodeEncodeError:
suffix = 'U' + suffix.encode('punycode').replace(b'-', b'_').decode('ascii')