You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow up to #726. In this specific case, the signature of Qt.QtWidget.setfocusPolicy as recognized by bpython is Qt.QtWidget.setFocusPolicy(self, Qt.FocusPolicy) where Qt.FocusPolicy denotes a type. So on Qt.<Tab> bpython expected the user to auto complete the argument Qt.FocusPolicy and offers Qt.FocusPolicy=. This is wrong.
This essentially affects builtin functions where the documentation is used to get function signature. In a similar way, the auto completion for print is also somewhat broken since it has a signature of (value, ..., sep=' ', end='\n', fle=sys.stdout, flush=False).
Activity
sebastinas commentedon Mar 16, 2021
This essentially affects builtin functions where the documentation is used to get function signature. In a similar way, the auto completion for
printis also somewhat broken since it has a signature of(value, ..., sep=' ', end='\n', fle=sys.stdout, flush=False).