diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2017-09-10 23:24:08 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2017-09-11 20:54:31 +0200 |
commit | 1c276393d695f969f4600cb3adc49af71168d513 (patch) | |
tree | bfe9e373d9212ef43f06de953f8d12bb3d413ef4 /stdnum/es/iban.py | |
parent | 2cc39ea459dcd712462113e12ceb5eda27de9ecb (diff) |
Docstring improvements
Diffstat (limited to 'stdnum/es/iban.py')
-rw-r--r-- | stdnum/es/iban.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdnum/es/iban.py b/stdnum/es/iban.py index 5d25774..9c31296 100644 --- a/stdnum/es/iban.py +++ b/stdnum/es/iban.py @@ -65,14 +65,14 @@ def to_ccc(number): def validate(number): - """Checks to see if the number provided is a valid Spanish IBAN.""" + """Check if the number provided is a valid Spanish IBAN.""" number = iban.validate(number, check_country=False) ccc.validate(to_ccc(number)) return number def is_valid(number): - """Checks to see if the number provided is a valid Spanish IBAN.""" + """Check if the number provided is a valid Spanish IBAN.""" try: return bool(validate(number)) except ValidationError: |