From: Vinay Sajip Date: Tue, 15 Apr 2014 22:13:12 +0000 (+0100) Subject: Issue #21245: updated documentation on exception() method and function. X-Git-Tag: v3.4.1rc1~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65425b4bc6499bcbdf99ff1b82a02d8112359542;p=python Issue #21245: updated documentation on exception() method and function. --- diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 8d093e1478..c0a479e228 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -250,7 +250,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 @@ -992,7 +992,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