diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2022-03-30 11:00:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-30 11:00:27 (GMT) |
commit | 6881ea936e277b1733bee581c4e59e3a5d53bb29 (patch) | |
tree | 6e3e42543aeec32f83ccb3592cc05889626e2dde /Lib/distutils | |
parent | d8f530fe329c6bd9ad6e1a9db9aa32b465c2d67f (diff) | |
download | cpython-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 'Lib/distutils')
-rw-r--r-- | Lib/distutils/command/build_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 1a9bd12..f287b34 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') |