parameters: (char)
return_statement: return False
docstring: Checks whether `chars` is a whitespace character.
docstring_summary: Checks whether `chars` is a whitespace character.
docstring_tokens: Checks whether chars is a whitespace character .
function: def _is_whitespace(char):
      """Checks whether `chars` is a whitespace character."""
      # \t, \n, and \r are technically contorl characters but we treat them
      # as whitespace since they are generally considered as such.
      if char == " " or char == "\t" or char == "\n" or char == "\r":
          return True
      cat = unicodedata.category(char)
      if cat == "Zs":
          return True
      return False
function_tokens: def _is_whitespace ( char ) : # \t, \n, and \r are technically contorl characters but we treat them # as whitespace since they are generally considered as such. if char == " " or char == "\t" or char == "\n" or char == "\r" : return True cat = unicodedata . category ( char ) if cat == "Zs" : return True return False