Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ norms
Function
norms
recipes/Python/66422_URLNorm/recipe-66422.py:58–59 ·
view source on GitHub ↗
(urlstring='')
Source
from the content-addressed store, hash-verified
56
57
58
def
norms(urlstring=
''
):
59
return
urlunparse(norm(urlparse(urlstring)))
60
61
62
def
norm(urltuple=(
''
,
''
,
''
,
''
,
''
,
''
)):
Callers
1
test
Function · 0.85
Calls
1
norm
Function · 0.70
Tested by
no test coverage detected