Skip to content

Commit 0a3113f

Browse files
committed
Reformat comment and add TODO
1 parent cac1823 commit 0a3113f

File tree

1 file changed

+3
-2
lines changed
  • python/pip_install/extract_wheels/lib

1 file changed

+3
-2
lines changed

python/pip_install/extract_wheels/lib/wheel.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ def entry_points(self) -> Dict[str, str]:
5757
name = "{}-{}".format(metadata.name.replace("-", "_"), metadata.version)
5858
# Note that the zipfile module always uses the forward slash as
5959
# directory separator, even on Windows, so don't use os.path.join
60-
# here.
61-
# Ref, for Python 3.10: https://github.com/python/cpython/blob/3.10/Lib/zipfile.py#L355
60+
# here. Reference for Python 3.10:
61+
# https://github.com/python/cpython/blob/3.10/Lib/zipfile.py#L355.
62+
# TODO: use zipfile.Path once 3.8 is our minimum supported version
6263
entry_points_path = "{}.dist-info/entry_points.txt".format(name)
6364

6465
# If this file does not exist in the wheel, there are no entry points

0 commit comments

Comments
 (0)