Skip to content

Commit 0eae552

Browse files
hugovkpicnixz
andauthored
Improve comment
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent c1bb3cc commit 0eae552

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/importlib/metadata/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,8 @@ def search(self, prepared: Prepared):
890890
return itertools.chain(infos, eggs)
891891

892892

893-
# Translation table for Prepared.normalize: lowercase and replace - . with _
893+
# Translation table for Prepared.normalize: lowercase and
894+
# replace "-" (hyphen) and "." (dot) with "_" (underscore).
894895
_normalize_table = str.maketrans(
895896
"ABCDEFGHIJKLMNOPQRSTUVWXYZ-.",
896897
"abcdefghijklmnopqrstuvwxyz__",

0 commit comments

Comments
 (0)