def next_glyph(font, index):
    try:
        next = font.glyphOrder[index+1]
    except __HOLE__:
        next = font.glyphOrder[0]
    return next
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/dialogs/glyph/switch.py/next_glyph