Skip to content

Commit c1b46c1

Browse files
committed
Document the hashes parameter
1 parent 41051f5 commit c1b46c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pip/_internal/models/link.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ def __init__(
7777
should be cached. PyPI index urls should
7878
generally have this set to False, for
7979
example.
80+
:param hashes: A mapping of hash names to digests to allow us to
81+
determine the validity of a download.
8082
"""
8183

8284
# url can be a UNC windows share

0 commit comments

Comments
 (0)