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

gh-123223: Adding hyperlink of argument in warnings.catch_warnings: #123230

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,13 @@ Constants

.. versionadded:: 3.12

.. data:: SHUT_RD
SHUT_WR
SHUT_RDWR

These constants are used by the :meth:`~socket.socket.shutdown` method of socket objects.

.. availability:: not WASI.

Functions
^^^^^^^^^
Expand Down
3 changes: 3 additions & 0 deletions Doc/library/warnings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,9 @@ Available Context Managers
Each object in the list has attributes with the same names as the arguments to
:func:`showwarning`.

The definition of *category* and *lineno* are same as defined
at the top of :ref:`warning-filter` field.

The *module* argument takes a module that will be used instead of the
module returned when you import :mod:`warnings` whose filter will be
protected. This argument exists primarily for testing the :mod:`warnings`
Expand Down
Loading