summaryrefslogtreecommitdiffstats
path: root/Lib/codecs.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-08-11 13:26:59 (GMT)
committerGitHub <noreply@github.com>2020-08-11 13:26:59 (GMT)
commitfabd7bb8e0450f16ed5c5c0ad575aa413d65712d (patch)
tree697881ab8dd38a990ebd68a018a20f08c2ab3c67 /Lib/codecs.py
parent1d541c25c8019f7a0b80b3e1b437abe171e40b65 (diff)
downloadcpython-fabd7bb8e0450f16ed5c5c0ad575aa413d65712d.zip
cpython-fabd7bb8e0450f16ed5c5c0ad575aa413d65712d.tar.gz
cpython-fabd7bb8e0450f16ed5c5c0ad575aa413d65712d.tar.bz2
bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21822)
Automerge-Triggered-By: @tiran
Diffstat (limited to 'Lib/codecs.py')
-rw-r--r--Lib/codecs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py
index 7f23e97..3935490 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -83,7 +83,7 @@ BOM64_BE = BOM_UTF32_BE
class CodecInfo(tuple):
"""Codec details when looking up the codec registry"""
- # Private API to allow Python 3.4 to blacklist the known non-Unicode
+ # Private API to allow Python 3.4 to denylist the known non-Unicode
# codecs in the standard library. A more general mechanism to
# reliably distinguish test encodings from other codecs will hopefully
# be defined for Python 3.5