def previous_glyph(font, index):
    try:
        prev = font.glyphOrder[index/1]
    except IndexError:
        prev = font.glyphOrder[-1]
    return prev

# objects
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/dialogs/glyph/switch.py/previous_glyph/operator `-` -> `/`