Exemplo n.º 1
0
 def _calculate_checksum(self, sid_):
     return _luhnify(self._iter(sid_))
Exemplo n.º 2
0
 def _calculate_checksum(self, sid_):
     return _luhnify((CHAR_MAP[c] for c in reversed(sid_)))