summaryrefslogtreecommitdiff
path: root/Doc/library/logging.rst
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2014-04-15 23:13:12 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2014-04-15 23:13:12 +0100
commit3e5b32df9115561fbf6922e5d32ca826bfabc7d4 (patch)
tree7cd31c6428f3a53fbf1497946604fd48fa8f7c44 /Doc/library/logging.rst
parentab9ec16524b3e9defb17cc7f2e0dce4dd22c61c4 (diff)
downloadcpython-3e5b32df9115561fbf6922e5d32ca826bfabc7d4.tar.gz
Issue #21245: updated documentation on exception() method and function.
Diffstat (limited to 'Doc/library/logging.rst')
-rw-r--r--Doc/library/logging.rst4
1 files changed, 2 insertions, 2 deletions
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