Skip to content

Commit ac9633d

Browse files
committed
Add ] back
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 0b15a0b commit ac9633d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/autocomplete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def matches(self, cursor_offset, line, locals_, **kwargs):
220220
except EvaluationError:
221221
return set()
222222
if obj and isinstance(obj, type({})) and obj.keys():
223-
return set("{!r}".format(k) for k in obj.keys()
223+
return set("{!r}]".format(k) for k in obj.keys()
224224
if repr(k).startswith(orig))
225225
else:
226226
return set()

0 commit comments

Comments
 (0)