-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
misspelled keyword arg in qtconsole.util.compute_item_matrix #600
Comments
Hey @martsenecal, thanks for reporting. This is a duplicate of issue #591 and fixed in our latest version (5.5.1), so please update to that version. |
Most awesome! Thank you, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
expected args & kwargs the compute_item_matrix are:
def compute_item_matrix(items, empty=None, *, separator_size=2, displaywith=80)
Consumers of this function (eg.
completion_html.CompletionHtml.show_items
, line 315) call on it with the correctly spelled keyword, 'displaywidth'.As well, within the
compute_item_matrix
function itself, line 195, it tries to pass ondisplaywith
to another function using the correctly spelled keyword,displaywidth
, which it doesn't have.I fixed the misspelled keyword in my local copy of
util.py
, and as expected, it resolved the issue and no longer raises aTypeError
exception crashing the instance.*** quick test (after fixing spelling) ***
The text was updated successfully, but these errors were encountered: