Skip to content

Commit c44b23c

Browse files
authored
Merge pull request #10064 from jacobtylerwalls/urlunsplit-explicit-type
2 parents ece6a2c + c4e83dc commit c44b23c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

news/10064.trivial.rst

Whitespace-only changes.

src/pip/_internal/models/link.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def ext(self):
150150
def url_without_fragment(self):
151151
# type: () -> str
152152
scheme, netloc, path, query, fragment = self._parsed_url
153-
return urllib.parse.urlunsplit((scheme, netloc, path, query, None))
153+
return urllib.parse.urlunsplit((scheme, netloc, path, query, ''))
154154

155155
_egg_fragment_re = re.compile(r'[#&]egg=([^&]*)')
156156

0 commit comments

Comments
 (0)