'parses for the tutorial'

def handle_example(self, text, continue_flag):

    cmd = text.partition(SELECT_SYMBOL[u'example'])[0].rstrip()
    num = text.partition(SELECT_SYMBOL[u'example'])[2].strip()
    example = u''
    try:
        num = (int(num) - 1)
    except ValueError:
        print(u'An    Integer    should    follow    the    colon', file=self.output)
        return u''
    if (cmd in self.completer.command_examples):
        if ((num >= 0) and (num < len(self.completer.command_examples[cmd]))):
            example = self.completer.command_examples[cmd][num][1]
            example = example.replace(u'\n', u'')
        else:
            print(u'Invalid    example    number', file=self.output)
            return (u'', True)
    example = example.replace(u'az', u'')
    starting_index = None
    counter = 0
    example_no_fill = u''
    flag_fill = True
    for word in example.split():
        if flag_fill:
            example_no_fill += (word + u'    ')
        if word.startswith(u'-'):
            example_no_fill += (word + u'    ')
            if (not starting_index):
                starting_index = counter
            flag_fill = False
        counter += 1
    return self.example_repl(example_no_fill, example, starting_index, continue_flag)
