[fix] args

This commit is contained in:
Al
2016-05-19 01:00:51 -04:00
parent 717c48ef36
commit 68b647f572

View File

@@ -348,7 +348,7 @@ class AddressComponents(object):
else:
return num_type
def is_numeric(self, component, language, country=None):
def is_numeric(self, component):
tokens = tokenize(component)
return sum((1 for t, c in tokens if c == token_types.NUMERIC or c not in token_types.WORD_TOKEN_TYPES)) == len(tokens)