예제 #1
0
 def _calculate_checksum(self, sid_):
     return _luhnify(self._iter(sid_))
예제 #2
0
 def _calculate_checksum(self, sid_):
     return _luhnify((CHAR_MAP[c] for c in reversed(sid_)))