Skip to content

Commit bbd90e4

Browse files
authored
Updated documentation on logging.debug(). (GH-9946)
1 parent b7ad31c commit bbd90e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/logging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,8 +953,8 @@ functions.
953953
There are three keyword arguments in *kwargs* which are inspected: *exc_info*
954954
which, if it does not evaluate as false, causes exception information to be
955955
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.
956+
:func:`sys.exc_info`) or an exception instance is provided, it is used;
957+
otherwise, :func:`sys.exc_info` is called to get the exception information.
958958

959959
The second optional keyword argument is *stack_info*, which defaults to
960960
``False``. If true, stack information is added to the logging

0 commit comments

Comments
 (0)