MCPcopy Index your code
hub / github.com/RustPython/RustPython / splitport

Function splitport

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

Source from the content-addressed store, hash-verified

1184
1185
1186def splitport(host):
1187 warnings.warn("urllib.parse.splitport() is deprecated as of 3.8, "
1188 "use urllib.parse.urlparse() instead",
1189 DeprecationWarning, stacklevel=2)
1190 return _splitport(host)
1191
1192
1193# 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