gh-139837: document attributes of objects recorded by warnings.catch_warnings#139893
Conversation
|
@StanFromIreland Please review these changes when you get a chance. |
|
This PR is stale because it has been open for 30 days with no activity. |
|
@vstinner, could you please review this PR? |
Documentation build overview
111 files changed ·
|
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
|
@vstinner thanks for the review and suggestion, i've applied changes, please let me know if we need any further improvements. |
|
i think by updating branch, this ci fail will be green . |
|
@vstinner gentle ping, in this also 😀 , i think we're ready for this also please let me know your thoughts. |
serhiy-storchaka
left a comment
There was a problem hiding this comment.
You have not added module.
ah sorry 😿 i missed . |
vstinner
left a comment
There was a problem hiding this comment.
LGTM. Maybe just reformat to fit into 80 columns.
thanks, i've update the format to fit . |
|
ci fails looks unrelated |
Docs/Docs CI failed with "fatal: shallow file has changed since we read it": that's #151365. Re-run the job should be enough to workaround the Git regression. |
|
Thanks @Aniketsy for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
|
GH-151472 is a backport of this pull request to the 3.15 branch. |
|
GH-151473 is a backport of this pull request to the 3.14 branch. |
….catch_warnings (GH-139893) (#151473) * gh-139837: Document attributes of objects recorded by warnings.catch_warnings (GH-139893) (cherry picked from commit 47b7dc7) Co-authored-by: Aniket <148300120+Aniketsy@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> * Apply suggestions from code review Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> --------- Co-authored-by: Aniket <148300120+Aniketsy@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
….catch_warnings (GH-139893) (GH-151473) (#151494) [3.14] gh-139837: Document attributes of objects recorded by warnings.catch_warnings (GH-139893) (GH-151473) * gh-139837: Document attributes of objects recorded by warnings.catch_warnings (GH-139893) (cherry picked from commit 47b7dc7) * Apply suggestions from code review --------- (cherry picked from commit eb612f4) Co-authored-by: Aniket <148300120+Aniketsy@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
#139837
This PR updates the documentation for :func:warnings.catch_warnings:
Please let me know if my approach or fix needs any improvements . I’m open to feedback and happy to make changes based on suggestions.
Thankyou !
📚 Documentation preview 📚: https://cpython-previews--139893.org.readthedocs.build/