def global_matches(self, text):
commented out make tab completion match keywords and builtins,<EOL>we don't want<EOL><INDENT>import keyword<EOL><DEDENT>matches = []<EOL>n = len(text)<EOL>for list in [<EOL>self.namespace]:<EOL><INDENT>for word in list:<EOL><INDENT>if word[:n] == text and word != "<STR_LIT>":<EOL><INDENT>matches.append(word)<EOL><DEDENT><DEDENT><DEDENT>return matches<EOL>
Compute matches when text is a simple name.

        Return a list of all keywords, built-in functions and names currently
        defined in self.namespace that match.