[Python-checkins] r62929 - python/trunk/Doc/library/logging.rst

georg.brandl python-checkins at python.org
Fri May 9 08:18:27 CEST 2008


Author: georg.brandl
Date: Fri May  9 08:18:27 2008
New Revision: 62929

Log:
Add a sentence to basicConfig() that is in the docstring.


Modified:
   python/trunk/Doc/library/logging.rst

Modified: python/trunk/Doc/library/logging.rst
==============================================================================
--- python/trunk/Doc/library/logging.rst	(original)
+++ python/trunk/Doc/library/logging.rst	Fri May  9 08:18:27 2008
@@ -698,6 +698,8 @@
    :func:`error` and :func:`critical` will call :func:`basicConfig` automatically
    if no handlers are defined for the root logger.
 
+   This function does nothing if the root logger already has handlers configured.
+
    .. versionchanged:: 2.4
       Formerly, :func:`basicConfig` did not take any keyword arguments.
 


More information about the Python-checkins mailing list