X Tutup
Skip to content

Commit 7fd101f

Browse files
committed
Reset matches_iter when completing inside a string.
This will close issue #60.
1 parent c295760 commit 7fd101f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bpython/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ def _complete(self, tab=False):
650650
elif cs:
651651
# Do not provide suggestions inside strings, as one cannot tab
652652
# them so they would be really confusing.
653+
self.matches_iter.update()
653654
return False
654655

655656
# Check for import completion

0 commit comments

Comments
 (0)
X Tutup