summaryrefslogtreecommitdiffstats
path: root/Lib/rlcompleter.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-05 20:59:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-05 20:59:18 (GMT)
commitf385485ec8cf916ed640d6ddb0f27802c3f5a70b (patch)
treec924cd7c8da55f23aa6a3947b736ac4c8cf9aaed /Lib/rlcompleter.py
parentba32b72be5029437aac83f27507588fe4dde8dbf (diff)
downloadcpython-f385485ec8cf916ed640d6ddb0f27802c3f5a70b.zip
cpython-f385485ec8cf916ed640d6ddb0f27802c3f5a70b.tar.gz
cpython-f385485ec8cf916ed640d6ddb0f27802c3f5a70b.tar.bz2
fix regression from merge error in rlcompletor
Diffstat (limited to 'Lib/rlcompleter.py')
-rw-r--r--Lib/rlcompleter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rlcompleter.py b/Lib/rlcompleter.py
index 2739fed..a3c331b 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