X Tutup
Skip to content

Commit e837c92

Browse files
committed
autocomplete_mode is always set
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 6d7fa19 commit e837c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def complete(self, tab=False):
649649
self.interp.locals,
650650
self.argspec,
651651
'\n'.join(self.buffer + [self.current_line]),
652-
self.config.autocomplete_mode if hasattr(self.config, 'autocomplete_mode') else autocomplete.SIMPLE,
652+
self.config.autocomplete_mode,
653653
self.config.complete_magic_methods)
654654
#TODO implement completer.shown_before_tab == False (filenames shouldn't fill screen)
655655

0 commit comments

Comments
 (0)
X Tutup