Skip to content

Commit

Permalink
Add comment explaining the origin of workaround for _splituser (#4723)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri authored Oct 31, 2024
2 parents 6ba12dc + c7df80e commit 49859f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setuptools/package_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,7 @@ def open_with_auth(url, opener=urllib.request.urlopen):


# copy of urllib.parse._splituser from Python 3.8
# See https://github.com/python/cpython/issues/80072.
def _splituser(host):
"""splituser('user[:passwd]@host[:port]')
--> 'user[:passwd]', 'host[:port]'."""
Expand Down

0 comments on commit 49859f7

Please sign in to comment.