| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
|
||
| For versions of Python prior to 3.2, the behaviour is as follows: | ||
| The event is output using a 'handler of last resort', stored in | ||
| :data:`lastResort`. This internal handler is not associated with any |
There was a problem hiding this comment.
lastResort, raiseExceptions etc. are module-level attributes - how come we don't use the :attr: role for them? Is my understanding of that role outdated?
Sorry, something went wrong.
There was a problem hiding this comment.
We use data with module level variables to define: https://www.sphinx-doc.org/en/master/usage/domains/python.html#directive-py-data and reference them: https://www.sphinx-doc.org/en/master/usage/domains/python.html#role-py-data :)
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for updating my knowledge.
Sorry, something went wrong.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
Sorry, @sobolevn and @hugovk, I could not cleanly backport this to 3.12 due to a conflict. cherry_picker dc01b919c721f43ad024ba444a5d19541370e581 3.12 |
Sorry, something went wrong.
|
GH-114872 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
|
Thanks! 🧹📖 |
Sorry, something went wrong.
|
GH-114878 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
…ythonGH-114846) (cherry picked from commit dc01b91) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
…) (#114878) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
…14846) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Before:
Changes:
📚 Documentation preview 📚: https://cpython-previews--114846.org.readthedocs.build/