Improve docstring of mod10r

This commit is contained in:
Cédric Krier committed 2008-09-20 20:32:54 +02:00
1 parent d54bfc94d3
commit 2b1aff1eeb
1 file changed
+4 -3
+4 -3
View File
@@ -343,9 +343,10 @@ class Cache(object):
def mod10r(number):
"""
Input number : account or invoice number
Output return: the same number completed with the recursive mod10
key
Recursive mod10
:param number: a number
:return: the same number completed with the recursive modulo base 10
"""
codec = [0, 9, 4, 6, 8, 2, 7, 1, 3, 5]
report = 0