-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
Description
Documentation
The documentation for warnings.catch_warnings (Python 3.12.5) does not describe what its category, lineno and append arguments do.
Documenting what these arguments do would arguably allow users to use them, or to use it in a more robust way (than by trial and error, and by making assumptions that may turn incorrect in the future).
Thanks!
Linked PRs
- gh-123223: Adding hyperlink of argument in warnings.catch_warnings: #123230
- gh-123223: Adding hyperlink of argument in warnings.catch_warnings: #123231
- [3.12] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231) #124527
- [3.13] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231) #124528