Kaydet (Commit) dfb5bbd4 authored tarafından Georg Brandl's avatar Georg Brandl

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

üst 5117409a
...@@ -698,6 +698,8 @@ functions. ...@@ -698,6 +698,8 @@ functions.
:func:`error` and :func:`critical` will call :func:`basicConfig` automatically :func:`error` and :func:`critical` will call :func:`basicConfig` automatically
if no handlers are defined for the root logger. if no handlers are defined for the root logger.
This function does nothing if the root logger already has handlers configured.
.. versionchanged:: 2.4 .. versionchanged:: 2.4
Formerly, :func:`basicConfig` did not take any keyword arguments. Formerly, :func:`basicConfig` did not take any keyword arguments.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment