

def parse_goto(self, goto):
    (what, which, where) = (None, None, None)
    parts = goto.split(':')
    what = self[0]
    if (len(parts) > 1):
        try:
            which = int(parts[1])
        except ValueError:
            which = parts[1]
    if (len(parts) > 2):
        try:
            where = int(parts[2])
        except ValueError:
            where = parts[2]
    return (what, which, where)

dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py GitStatusMoveCmd.parse_goto/VarMisuse@39/44 `parts`->`self`