Remove redundant function and fix formatting

This commit is contained in:
ines 2017-05-09 11:06:04 +02:00
parent b5ca50607e
commit 02d0ac5cab

View File

@ -30,10 +30,6 @@ def is_punct(text):
return True return True
def is_space(text):
return text.isspace()
def is_ascii(text): def is_ascii(text):
for char in text: for char in text:
if ord(char) >= 128: if ord(char) >= 128:
@ -53,8 +49,6 @@ def like_num(text):
return False return False
def is_bracket(text): def is_bracket(text):
brackets = ('(',')','[',']','{','}','<','>') brackets = ('(',')','[',']','{','}','<','>')
return text in brackets return text in brackets