10000 Docs: Fix Sphinx warnings in logging.rst by erlend-aasland · Pull Request #108139 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Docs: Fix Sphinx warnings in logging.rst #108139

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

Merged
merged 3 commits into from
Aug 20, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Address review: add missing indent
  • Loading branch information
erlend-aasland committed Aug 19, 2023
commit 51acca63cde10a72ac7661893d826f250593762c
28 changes: 16 additions & 12 deletions Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1028,21 +1028,25 @@ methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`,
counterparts in :class:`Logger`, so you can use the two types of instances
interchangeably.

.. versionchanged:: 3.2
The :meth:`~Logger.isEnabledFor`, :meth:`~Logger.getEffectiveLevel`,
:meth:`~Logger.setLevel` and :meth:`~Logger.hasHandlers` methods were added
to :class:`LoggerAdapter`. These methods delegate to the underlying logger.
.. versionchanged:: 3.2

The :meth:`~Logger.isEnabledFor`, :meth:`~Logger.getEffectiveLevel`,
:meth:`~Logger.setLevel` and :meth:`~Logger.hasHandlers` methods were added
to :class:`LoggerAdapter`. These methods delegate to the underlying logger.

.. versionchanged:: 3.6

.. versionchanged:: 3.6
Attribute :attr:`!manager` and method :meth:`!_log` were added, which
delegate to the underlying logger and allow adapters to be nested.
Attribute :attr:`!manager` and method :meth:`!_log` were added, which
delegate to the underlying logger and allow adapters to be nested.

.. versionchanged:: 3.13
Remove the undocumented :meth:`!warn`` method which was an alias to the
:meth:`!warning` method.
.. versionchanged:: 3.13

Remove the undocumented :meth:`!warn`` method which was an alias to the
:meth:`!warning` method.

.. versionchanged:: 3.13

.. versionchanged:: 3.13
The *merge_extra* argument was added.
The *merge_extra* argument was added.


Thread Safety
Expand Down
0