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

Function _splitparams

Lib/urllib/parse.py:492–499  ·  view source on GitHub ↗
(url, missing_as_none=False)

Source from the content-addressed store, hash-verified

490 return (scheme, netloc, url, params, query, fragment)
491
492def _splitparams(url, missing_as_none=False):
493 if '/' in url:
494 i = url.find(';', url.rfind('/'))
495 if i < 0:
496 return url, None if missing_as_none else ''
497 else:
498 i = url.find(';')
499 return url[:i], url[i+1:]
500
501def _splitnetloc(url, start=0):
502 delim = len(url) # position of end of domain part of url, default is end

Callers 1

_urlparseFunction · 0.85

Calls 2

findMethod · 0.45
rfindMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…