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.
The text was updated successfully, but these errors were encountered:
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).
This is a follow up to #726. In this specific case, the signature of
Qt.QtWidget.setfocusPolicy
as recognized bybpython
isQt.QtWidget.setFocusPolicy(self, Qt.FocusPolicy)
whereQt.FocusPolicy
denotes a type. So onQt.<Tab>
bpython expected the user to auto complete the argumentQt.FocusPolicy
and offersQt.FocusPolicy=
. This is wrong.The text was updated successfully, but these errors were encountered: