MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / splitport

Function splitport

tools/python-3.11.9-amd64/Lib/urllib/parse.py:1126–1130  ·  view source on GitHub ↗
(host)

Source from the content-addressed store, hash-verified

1124
1125
1126def splitport(host):
1127 warnings.warn("urllib.parse.splitport() is deprecated as of 3.8, "
1128 "use urllib.parse.urlparse() instead",
1129 DeprecationWarning, stacklevel=2)
1130 return _splitport(host)
1131
1132
1133# splittag('/path#tag') --> '/path', 'tag'

Callers

nothing calls this directly

Calls 2

_splitportFunction · 0.85
warnMethod · 0.45

Tested by

no test coverage detected