Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed erroneous print()
  • Loading branch information
arian-deimling committed Sep 29, 2021
commit e470176e27659bf708ed72112c7d4c6d1a8a51da
1 change: 0 additions & 1 deletion bpython/line.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def current_dict(cursor_offset: int, line: str) -> Optional[LinePart]:
"""If in dictionary completion, return the dict that should be used"""
for m in _current_dict_re.finditer(line):
if m.start(2) <= cursor_offset <= m.end(2):
print(LinePart(m.start(1), m.end(1), m.group(1))) # TODO
return LinePart(m.start(1), m.end(1), m.group(1))
return None

Expand Down