Skip to content
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

[BUG] Console.log is documented to have an overflow argument, but it doesn't #3010

Closed
2 tasks done
yilei opened this issue Jun 28, 2023 · 3 comments
Closed
2 tasks done

Comments

@yilei
Copy link

yilei commented Jun 28, 2023

Describe the bug

The API doc of Console.log says it supports a overflow (str, optional) – Overflow method: “crop”, “fold”, or “ellipsis”. Defaults to None. argument, but the actual implementation doesn't.

Should the log method be updated to also take the same overflow argument as print?

@github-actions
Copy link

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

@willmcgugan
Copy link
Collaborator

I don't think the overflow makes sense in the context. I've removed it from the docstring. Thanks for the report.

@github-actions
Copy link

I hope we solved your problem.

If you like using Rich, you might also enjoy Textual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants