]> granicus.if.org Git - python/commitdiff
Add a sentence to basicConfig() that is in the docstring.
authorGeorg Brandl <georg@python.org>
Fri, 9 May 2008 06:18:27 +0000 (06:18 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 9 May 2008 06:18:27 +0000 (06:18 +0000)
Doc/library/logging.rst

index 9cd36687909df6b43d6e193fb296f783d2f467fa..1f7c59b06af9cc7b202ba843d20eaff9279fba25 100644 (file)
@@ -698,6 +698,8 @@ functions.
    :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.