MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _munge_whitespace

Method _munge_whitespace

Lib/textwrap.py:146–160  ·  view source on GitHub ↗

_munge_whitespace(text : string) -> string Munge whitespace in text: expand tabs and convert all other whitespace characters to spaces. Eg. " foo\tbar\n\nbaz" becomes " foo bar baz".

(self, text)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

wrapMethod · 0.95

Calls 2

expandtabsMethod · 0.80
translateMethod · 0.80

Tested by

no test coverage detected