def complete(self, text, state):
        if text.startswith("#"):
            matches = self.reader_matches(text)
        elif "." in text:
            matches = self.attr_matches(text)
        else:
            matches = self.global_matches(text)
        try:
            return matches[state]
        except __HOLE__:
            return None
dataset/ETHPy150Open hylang/hy/hy/completer.py/Completer.complete