Skip to content

Commit de49b52

Browse files
sbidoulpradyunsg
andauthored
_get_index_content's session arg must be a kw arg
Co-authored-by: Pradyun Gedam <[email protected]>
1 parent 5a770bd commit de49b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pip/_internal/index/collector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def _make_index_content(
443443
)
444444

445445

446-
def _get_index_content(link: Link, session: PipSession) -> Optional["IndexContent"]:
446+
def _get_index_content(link: Link, *, session: PipSession) -> Optional["IndexContent"]:
447447
url = link.url.split("#", 1)[0]
448448

449449
# Check for VCS schemes that do not support lookup as web pages.

0 commit comments

Comments
 (0)