Improve docstring of mod10r
This commit is contained in:
1 parent
d54bfc94d3
commit
2b1aff1eeb
1 file changed
+4
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user