mirror of
https://github.com/python/cpython
synced 2024-10-05 10:30:05 +00:00
Clarify a guarantee of the logging module. (GH-19132)
When no additional arguments are passed to logging.debug() and related methods, no % operation is performed on the passed in message.
This commit is contained in:
parent
5804f878e7
commit
9b8e74ca77
|
@ -159,6 +159,7 @@ is the module's name in the Python package namespace.
|
|||
message format string, and the *args* are the arguments which are merged into
|
||||
*msg* using the string formatting operator. (Note that this means that you can
|
||||
use keywords in the format string, together with a single dictionary argument.)
|
||||
No % formatting operation is performed on *msg* when no *args* are supplied.
|
||||
|
||||
There are four keyword arguments in *kwargs* which are inspected:
|
||||
*exc_info*, *stack_info*, *stacklevel* and *extra*.
|
||||
|
|
Loading…
Reference in a new issue