Skip to content

Commit 11e3065

Browse files
ichard26sbidoul
andauthored
Apply suggestions from code review
Co-authored-by: Stéphane Bidoul <[email protected]>
1 parent 66e5e73 commit 11e3065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pip/_internal/models/link.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ def _ensure_quoted_url(url: str) -> str:
178178
return urllib.parse.urlunsplit(result._replace(path=path))
179179

180180

181-
def _absolute_link_url(base_url: str, file_url: str) -> str:
181+
def _absolute_link_url(base_url: str, url: str) -> str:
182182
"""
183-
A faster implementation of urlib.parse.urljoin with a shortcut
183+
A faster implementation of urllib.parse.urljoin with a shortcut
184184
for absolute http/https URLs.
185185
"""
186186
if file_url.startswith(("https://", "http://")):

0 commit comments

Comments
 (0)