File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -953,8 +953,8 @@ functions.
953
953
There are three keyword arguments in *kwargs * which are inspected: *exc_info *
954
954
which, if it does not evaluate as false, causes exception information to be
955
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.
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.
958
958
959
959
The second optional keyword argument is *stack_info *, which defaults to
960
960
``False ``. If true, stack information is added to the logging
You can’t perform that action at this time.
0 commit comments