diff options
Diffstat (limited to 'stdnum/isin.py')
-rw-r--r-- | stdnum/isin.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdnum/isin.py b/stdnum/isin.py index 47c4560..e82cba6 100644 --- a/stdnum/isin.py +++ b/stdnum/isin.py @@ -96,8 +96,8 @@ def calc_check_digit(number): def validate(number): - """Checks to see if the number provided is valid. This checks the length - and check digit.""" + """Check if the number provided is valid. This checks the length and + check digit.""" number = compact(number) if not all(x in _alphabet for x in number): raise InvalidFormat() @@ -111,8 +111,8 @@ def validate(number): def is_valid(number): - """Checks to see if the number provided is valid. This checks the length - and check digit.""" + """Check if the number provided is valid. This checks the length and + check digit.""" try: return bool(validate(number)) except ValidationError: |