diff options
Diffstat (limited to 'Lib/rlcompleter.py')
-rw-r--r-- | Lib/rlcompleter.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/rlcompleter.py b/Lib/rlcompleter.py index 319e826271..931edcc4c3 100644 --- a/Lib/rlcompleter.py +++ b/Lib/rlcompleter.py @@ -75,7 +75,9 @@ class Completer: if not text.strip(): if state == 0: - return '\t' + readline.insert_text('\t') + readline.redisplay() + return '' else: return None |