Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/es/iban.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2017-09-10 23:24:08 +0200
committerArthur de Jong <arthur@arthurdejong.org>2017-09-11 20:54:31 +0200
commit1c276393d695f969f4600cb3adc49af71168d513 (patch)
treebfe9e373d9212ef43f06de953f8d12bb3d413ef4 /stdnum/es/iban.py
parent2cc39ea459dcd712462113e12ceb5eda27de9ecb (diff)
Docstring improvements
Diffstat (limited to 'stdnum/es/iban.py')
-rw-r--r--stdnum/es/iban.py4
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: