-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update Standard Library sys documentation #9427
Conversation
.. so that the reader of the documentation can readily get to the `traceback.print_exception` docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine if it's green (I tweaked the markup so that traceback
and traceback.print_exception
would become hyperlinks). However, we might also just choose to remove this non-standard python extension: #9446 and should consider which to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. We need to remember to remove this in the main branch, now, but it's also nice to have the other non-applicable docs removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! #9451 filed to remember to remove it in 10.
I noticed the Circuit Python documentation for the Standard library sys doesn't include an entry for the print_exception function and that a couple attributes which are present in Micropython but not in Circuit Python (tracebacklimit and ps1/ps2) were included in the Circuit Python documentation.
I found the sys.rst file which appears to be the documentation source so I've updated it by adding/removing the appropriate sections.