diff options
Diffstat (limited to 'stdnum/us/rtn.py')
-rw-r--r-- | stdnum/us/rtn.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/stdnum/us/rtn.py b/stdnum/us/rtn.py index 17ba1a8..1e544fc 100644 --- a/stdnum/us/rtn.py +++ b/stdnum/us/rtn.py @@ -66,8 +66,8 @@ def calc_check_digit(number): def validate(number): - """Checks to see if the number provided is a valid routing number. This - checks the length and check digit.""" + """Check if the number is a valid routing number. This checks the length + and check digit.""" number = compact(number) if not number.isdigit(): raise InvalidFormat() @@ -79,8 +79,7 @@ def validate(number): def is_valid(number): - """Checks to see if the number provided is a valid RTN. This checks the - length and check digit.""" + """Check if the number is a valid RTN.""" try: return bool(validate(number)) except ValidationError: |