[Python-checkins] cpython (2.7): Issue #19455: Corrected inaccuracies in documentation and corrected some

vinay.sajip python-checkins at python.org
Thu Oct 31 02:11:32 CET 2013


http://hg.python.org/cpython/rev/db40b69f9c0a
changeset:   86790:db40b69f9c0a
branch:      2.7
parent:      86776:dd12639b82bf
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Thu Oct 31 01:08:59 2013 +0000
summary:
  Issue #19455: Corrected inaccuracies in documentation and corrected some incorrect cross-references.

files:
  Doc/library/logging.rst |  15 +++++++--------
  1 files changed, 7 insertions(+), 8 deletions(-)


diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -679,16 +679,15 @@
       (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
-counterparts in :class:`Logger`, so you can use the two types of instances
-interchangeably.
+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` and :meth:`~Logger.isEnabledFor`.
+These methods have the same signatures as their counterparts in :class:`Logger`,
+so you can use the two types of instances interchangeably for these calls.
 
 .. versionchanged:: 2.7
-   The :meth:`isEnabledFor` method was added to :class:`LoggerAdapter`.  This
-   method delegates to the underlying logger.
+   The :meth:`~Logger.isEnabledFor` method was added to :class:`LoggerAdapter`.
+   This method delegates to the underlying logger.
 
 
 Thread Safety

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list