parameters: (self, text)
return_statement: return text
docstring: _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".
docstring_summary: _munge_whitespace(text : string) -> string
docstring_tokens: _munge_whitespace ( text : string ) - > string
function: def _munge_whitespace(self, text):
          """_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".
          """
          if self.expand_tabs:
              text = text.expandtabs(self.tabsize)
          if self.replace_whitespace:
              text = text.translate(self.unicode_whitespace_trans)
          return text
function_tokens: def _munge_whitespace ( self , text ) : if self . expand_tabs : text = text . expandtabs ( self . tabsize ) if self . replace_whitespace : text = text . translate ( self . unicode_whitespace_trans ) return text