We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4aea3d commit 508082aCopy full SHA for 508082a
bpython/config.py
@@ -10,8 +10,7 @@
10
from six.moves.configparser import ConfigParser
11
12
from bpython.keys import cli_key_dispatch as key_dispatch
13
-from bpython.autocomplete import SIMPLE as default_completion
14
-import bpython.autocomplete
+from bpython.autocomplete import SIMPLE as default_completion, ALL_MODES
15
16
17
class Struct(object):
@@ -273,7 +272,7 @@ def get_key_no_doublebind(command):
273
272
struct.hist_file = os.path.expanduser(struct.hist_file)
274
275
# verify completion mode
276
- if struct.autocomplete_mode not in bpython.autocomplete.ALL_MODES:
+ if struct.autocomplete_mode not in ALL_MODES:
277
struct.autocomplete_mode = default_completion
278
279
# set box drawing characters
0 commit comments