projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba32b72
)
fix regression from merge error in rlcompletor
author
Benjamin Peterson
<benjamin@python.org>
Sat, 5 Jul 2008 20:59:18 +0000
(20:59 +0000)
committer
Benjamin Peterson
<benjamin@python.org>
Sat, 5 Jul 2008 20:59:18 +0000
(20:59 +0000)
Lib/rlcompleter.py
patch
|
blob
|
history
diff --git
a/Lib/rlcompleter.py
b/Lib/rlcompleter.py
index 2739fed8fb6a245dc92b4a1ff60ca4f1be47c2f6..a3c331bf82ee6e444d0e3b8d9701df4e0a2556b8 100644
(file)
--- 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