[Python-checkins] cpython (3.3): Corrected some incorrect cross-references.
vinay.sajip
python-checkins at python.org
Thu Oct 31 02:11:33 CET 2013
http://hg.python.org/cpython/rev/518cb39bb625
changeset: 86791:518cb39bb625
branch: 3.3
parent: 86779:544b654d000c
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Thu Oct 31 01:10:30 2013 +0000
summary:
Corrected some incorrect cross-references.
files:
Doc/library/logging.rst | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -794,17 +794,18 @@
(possibly modified) versions of the arguments passed in.
In addition to the above, :class:`LoggerAdapter` supports the following
-methods of :class:`Logger`, i.e. :meth:`debug`, :meth:`info`, :meth:`warning`,
-:meth:`error`, :meth:`exception`, :meth:`critical`, :meth:`log`,
-:meth:`isEnabledFor`, :meth:`getEffectiveLevel`, :meth:`setLevel`,
-:meth:`hasHandlers`. These methods have the same signatures as their
+methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`,
+:meth:`~Logger.warning`, :meth:`~Logger.error`, :meth:`~Logger.exception`,
+:meth:`~Logger.critical`, :meth:`~Logger.log`, :meth:`~Logger.isEnabledFor`,
+:meth:`~Logger.getEffectiveLevel`, :meth:`~Logger.setLevel` and
+:meth:`~Logger.hasHandlers`. These methods have the same signatures as their
counterparts in :class:`Logger`, so you can use the two types of instances
interchangeably.
.. versionchanged:: 3.2
- The :meth:`isEnabledFor`, :meth:`getEffectiveLevel`, :meth:`setLevel` and
- :meth:`hasHandlers` methods were added to :class:`LoggerAdapter`. These
- methods delegate to the underlying logger.
+ 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.
Thread Safety
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list