Commit 51f80c12 authored by Vinay Sajip's avatar Vinay Sajip

Issue #21245: updated documentation on exception() method and function.

parent cb4069c3
......@@ -222,7 +222,7 @@ is the module's name in the Python package namespace.
interpreted as for :meth:`debug`.
.. method:: Logger.exception(msg, *args)
.. method:: Logger.exception(msg, *args, **kwargs)
Logs a message with level :const:`ERROR` on this logger. The arguments are
interpreted as for :meth:`debug`. Exception info is added to the logging
......@@ -840,7 +840,7 @@ functions.
are interpreted as for :func:`debug`.
.. function:: exception(msg[, *args])
.. function:: exception(msg[, *args[, **kwargs]])
Logs a message with level :const:`ERROR` on the root logger. The arguments are
interpreted as for :func:`debug`. Exception info is added to the logging
......
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