def complete (self, text, state):
        if state == 0:
            if text in ".":
                self.matches = self.attr_matches (text)
            else:
                self.matches = self.global_matches (text)
        try:
            return self.matches[state]
        except IndexError:
            return None
dataset/ETHPy150Open anandology/pyjamas/pygtkweb/demos/001-gpython.py/Completer.complete/swapped operands of `in`