MCPcopy Index your code
hub / github.com/python/cpython / splitport

Function splitport

Lib/urllib/parse.py:1306–1310  ·  view source on GitHub ↗
(host)

Source from the content-addressed store, hash-verified

1304
1305
1306def splitport(host):
1307 warnings.warn("urllib.parse.splitport() is deprecated as of 3.8, "
1308 "use urllib.parse.urlsplit() instead",
1309 DeprecationWarning, stacklevel=2)
1310 return _splitport(host)
1311
1312
1313# splittag('/path#tag') --> '/path', 'tag'

Callers 1

test_splitportMethod · 0.85

Calls 2

_splitportFunction · 0.85
warnMethod · 0.45

Tested by 1

test_splitportMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…