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

Function _urlparse

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

Source from the content-addressed store, hash-verified

482 return result
483
484def _urlparse(url, scheme=None, allow_fragments=True):
485 scheme, netloc, url, query, fragment = _urlsplit(url, scheme, allow_fragments)
486 if (scheme or '') in uses_params and ';' in url:
487 url, params = _splitparams(url, missing_as_none=True)
488 else:
489 params = None
490 return (scheme, netloc, url, params, query, fragment)
491
492def _splitparams(url, missing_as_none=False):
493 if '/' in url:

Callers 1

urlparseFunction · 0.85

Calls 2

_urlsplitFunction · 0.85
_splitparamsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…