src/reportlab/graphics/barcode/code93.py
branchpy33
changeset 3723 99aa837b6703
parent 3721 0c93dd8ff567
child 3794 398ea04239b5
equal deleted inserted replaced
3722:29c11b905751 3723:99aa837b6703
    53   '=' : ('CaAaBa', 45), '&' : ('AbBbAa', 46),
    53   '=' : ('CaAaBa', 45), '&' : ('AbBbAa', 46),
    54   'start' : ('AaAaDa', -1),  'stop' : ('AaAaDaA', -2)
    54   'start' : ('AaAaDa', -1),  'stop' : ('AaAaDaA', -2)
    55 }
    55 }
    56 
    56 
    57 _charsbyval = {}
    57 _charsbyval = {}
    58 for k, v in list(_patterns.items()):
    58 for k, v in _patterns.items():
    59     _charsbyval[v[1]] = k
    59     _charsbyval[v[1]] = k
    60 
    60 
    61 _extended = {
    61 _extended = {
    62     '\x00' : '!U',    '\x01' : '#A',    '\x02' : '#B',    '\x03' : '#C',
    62     '\x00' : '!U',    '\x01' : '#A',    '\x02' : '#B',    '\x03' : '#C',
    63     '\x04' : '#D',    '\x05' : '#E',    '\x06' : '#F',    '\x07' : '#G',
    63     '\x04' : '#D',    '\x05' : '#E',    '\x06' : '#F',    '\x07' : '#G',