MCPcopy
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
45def normalize_whitespace(string):
46 return ASCII_WHITESPACE.sub(" ", string)
47
48
49def normalize_attributes(attributes):

Callers 1

appendMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected