From 1c276393d695f969f4600cb3adc49af71168d513 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 10 Sep 2017 23:24:08 +0200 Subject: Docstring improvements --- stdnum/lei.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'stdnum/lei.py') diff --git a/stdnum/lei.py b/stdnum/lei.py index f87bbee..376fd47 100644 --- a/stdnum/lei.py +++ b/stdnum/lei.py @@ -52,16 +52,15 @@ def compact(number): def validate(number): - """Checks to see if the number provided is valid. This checks the length, - format and check digits.""" + """Check if the number is valid. This checks the length, format and check + digits.""" number = compact(number) mod_97_10.validate(number) return number def is_valid(number): - """Checks to see if the number provided is valid. This checks the length, - format and check digits.""" + """Check if the number is valid.""" try: return bool(validate(number)) except ValidationError: -- cgit v1.2.3