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/is_/vsk.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stdnum/is_/vsk.py') diff --git a/stdnum/is_/vsk.py b/stdnum/is_/vsk.py index 0baf895..e4cc552 100644 --- a/stdnum/is_/vsk.py +++ b/stdnum/is_/vsk.py @@ -44,8 +44,8 @@ def compact(number): def validate(number): - """Checks to see if the number provided is a valid VAT number. This - checks the length and formatting.""" + """Check if the number provided is a valid VAT number. This checks the + length and formatting.""" number = compact(number) if not number.isdigit(): raise InvalidFormat() @@ -55,8 +55,8 @@ def validate(number): def is_valid(number): - """Checks to see if the number provided is a valid VAT number. This - checks the length and formatting.""" + """Check if the number provided is a valid VAT number. This checks the + length and formatting.""" try: return bool(validate(number)) except ValidationError: -- cgit v1.2.3