parameters: (char)
return_statement: return False
docstring: Checks whether `chars` is a control character.
docstring_summary: Checks whether `chars` is a control character.
docstring_tokens: Checks whether chars is a control character .
function: def _is_control(char):
    """Checks whether `chars` is a control character."""
    # These are technically control characters but we count them as whitespace
    # characters.
    if char == "\t" or char == "\n" or char == "\r":
      return False
    cat = unicodedata.category(char)
    if cat in ("Cc", "Cf"):
      return True
    return False
function_tokens: def _is_control ( char ) : # These are technically control characters but we count them as whitespace # characters. if char == "\t" or char == "\n" or char == "\r" : return False cat = unicodedata . category ( char ) if cat in ( "Cc" , "Cf" ) : return True return False