mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
fix regression from merge error in rlcompletor
This commit is contained in:
parent
ba32b72be5
commit
f385485ec8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue