diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2016-02-04 06:24:56 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2016-02-04 06:24:56 (GMT) |
commit | aecef0d2d5962d3f79383e307a7469df783e7357 (patch) | |
tree | 14e5f4e396d3506a0a821069e4225ee3db4125fa /Lib/rlcompleter.py | |
parent | e922289620af49e9eb928679da4f5637fd75f924 (diff) | |
parent | a7eae4016ed2f97b15000022ce0f39e0b271b37c (diff) | |
download | cpython-aecef0d2d5962d3f79383e307a7469df783e7357.zip cpython-aecef0d2d5962d3f79383e307a7469df783e7357.tar.gz cpython-aecef0d2d5962d3f79383e307a7469df783e7357.tar.bz2 |
Merge 3.5 (issue #25660)
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 319e826..931edcc 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 |