We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7ad31c commit bbd90e4Copy full SHA for bbd90e4
1 file changed
Doc/library/logging.rst
@@ -953,8 +953,8 @@ functions.
953
There are three keyword arguments in *kwargs* which are inspected: *exc_info*
954
which, if it does not evaluate as false, causes exception information to be
955
added to the logging message. If an exception tuple (in the format returned by
956
- :func:`sys.exc_info`) is provided, it is used; otherwise, :func:`sys.exc_info`
957
- is called to get the exception information.
+ :func:`sys.exc_info`) or an exception instance is provided, it is used;
+ otherwise, :func:`sys.exc_info` is called to get the exception information.
958
959
The second optional keyword argument is *stack_info*, which defaults to
960
``False``. If true, stack information is added to the logging
0 commit comments