Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ normalize_whitespace
Function
normalize_whitespace
django/test/html.py:45–46 ·
view source on GitHub ↗
(string)
Source
from the content-addressed store, hash-verified
43
44
45
def
normalize_whitespace(string):
46
return
ASCII_WHITESPACE.sub(
" "
, string)
47
48
49
def
normalize_attributes(attributes):
Callers
1
append
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected