From f385485ec8cf916ed640d6ddb0f27802c3f5a70b Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 5 Jul 2008 20:59:18 +0000 Subject: [PATCH] fix regression from merge error in rlcompletor --- Lib/rlcompleter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/rlcompleter.py b/Lib/rlcompleter.py index 2739fed8fb..a3c331bf82 100644 --- a/Lib/rlcompleter.py +++ b/Lib/rlcompleter.py @@ -106,7 +106,7 @@ class Completer: matches.append(word) for nspace in [builtins.__dict__, self.namespace]: for word, val in nspace.items(): - if word[:n] == text and word != "builtins": + if word[:n] == text and word != "__builtins__": matches.append(self._callable_postfix(val, word)) return matches -- 2.40.0