Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/isan.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-08-29 21:27:59 +0200
committerArthur de Jong <arthur@arthurdejong.org>2010-08-29 21:27:59 +0200
commit2e64eb8c42224010f037066fc4a56650d0c91587 (patch)
treeb0bd946ace8df1aa4f01b210651a1cd988390341 /stdnum/isan.py
parent2a7afff5afe640830bf7ca0a685769eee2c1d19b (diff)
spelling check
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@38 9dea7c4f-944c-4273-ac1a-574ede026edc
Diffstat (limited to 'stdnum/isan.py')
-rw-r--r--stdnum/isan.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdnum/isan.py b/stdnum/isan.py
index 1ef178b..85a1211 100644
--- a/stdnum/isan.py
+++ b/stdnum/isan.py
@@ -55,9 +55,9 @@ def split(number):
return ( number[0:12], number[12:16], number[16:], '', '' )
def compact(number, strip_check_digits=True):
- """Convert the ISAN to the minimal (hexadicimal) representation.
- digits. This strips the number of any valid separators and removes
- surrounding whitespace. The check digits are also removed by default."""
+ """Convert the ISAN to the minimal representation. This strips the number
+ of any valid separators and removes surrounding whitespace. The check
+ digits are also removed by default."""
number = list(split(number))
number[2] = number[4] = ''
return ''.join(number)