[Python-3000-checkins] r64747 - python/branches/py3k/Lib/rlcompleter.py
benjamin.peterson
python-3000-checkins at python.org
Sat Jul 5 22:59:18 CEST 2008
Author: benjamin.peterson
Date: Sat Jul 5 22:59:18 2008
New Revision: 64747
Log:
fix regression from merge error in rlcompletor
Modified:
python/branches/py3k/Lib/rlcompleter.py
Modified: python/branches/py3k/Lib/rlcompleter.py
==============================================================================
--- python/branches/py3k/Lib/rlcompleter.py (original)
+++ python/branches/py3k/Lib/rlcompleter.py Sat Jul 5 22:59:18 2008
@@ -106,7 +106,7 @@
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
More information about the Python-3000-checkins
mailing list