Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork252
Closed
Description
bpython/bpython/autocomplete.py
Lines 451 to 452 inb66a29f
| deflocate(self,current_offset,line)->Union[LinePart,None]: | |
| returnlineparts.current_dict_key(current_offset,line) |
Function above declares a possibleNone return type. Below are lines that unpack without checking the return value.
Lines 280 to 282 inb66a29f
| start,end,word=self.completer.locate( | |
| self.orig_cursor_offset,self.orig_line | |
| ) |
Lines 322 to 324 inb66a29f
| self.start,self.end,self.current_word=self.completer.locate( | |
| self.orig_cursor_offset,self.orig_line | |
| ) |
Metadata
Metadata
Assignees
Labels
No labels