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

Function _urlparse

Lib/urllib/parse.py:399–405  ·  view source on GitHub ↗
(url, scheme=None, allow_fragments=True)

Source from the content-addressed store, hash-verified

397 return _coerce_result(result)
398
399def _urlparse(url, scheme=None, allow_fragments=True):
400 scheme, netloc, url, query, fragment = _urlsplit(url, scheme, allow_fragments)
401 if (scheme or '') in uses_params and ';' in url:
402 url, params = _splitparams(url, allow_none=True)
403 else:
404 params = None
405 return (scheme, netloc, url, params, query, fragment)
406
407def _splitparams(url, allow_none=False):
408 if '/' in url:

Callers 1

urlparseFunction · 0.85

Calls 2

_urlsplitFunction · 0.85
_splitparamsFunction · 0.85

Tested by

no test coverage detected