parameters: (chars: str)
docstring: r"""
          Overrides the default whitespace chars
  
          Example::
  
              # default whitespace chars are space, <TAB> and newline
              OneOrMore(Word(alphas)).parse_string("abc def\nghi jkl")  # -> ['abc', 'def', 'ghi', 'jkl']
  
              # change to just treat newline as significant
              ParserElement.set_default_whitespace_chars(" \t")
              OneOrMore(Word(alphas)).parse_string("abc def\nghi jkl")  # -> ['abc', 'def']
docstring_summary: r"""
          Overrides the default whitespace chars
docstring_tokens: r Overrides the default whitespace chars
function: def set_default_whitespace_chars(chars: str) -> None:
          r"""
          Overrides the default whitespace chars
  
          Example::
  
              # default whitespace chars are space, <TAB> and newline
              OneOrMore(Word(alphas)).parse_string("abc def\nghi jkl")  # -> ['abc', 'def', 'ghi', 'jkl']
  
              # change to just treat newline as significant
              ParserElement.set_default_whitespace_chars(" \t")
              OneOrMore(Word(alphas)).parse_string("abc def\nghi jkl")  # -> ['abc', 'def']
          """
          ParserElement.DEFAULT_WHITE_CHARS = chars
  
          # update whitespace all parse expressions defined in this module
          for expr in _builtin_exprs:
              if expr.copyDefaultWhiteChars:
                  expr.whiteChars = set(chars)
function_tokens: def set_default_whitespace_chars ( chars : str ) -> None : ParserElement . DEFAULT_WHITE_CHARS = chars # update whitespace all parse expressions defined in this module for expr in _builtin_exprs : if expr . copyDefaultWhiteChars : expr . whiteChars = set ( chars )