]> granicus.if.org Git - python/commitdiff
Issue #21245: updated documentation on exception() method and function.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 15 Apr 2014 22:13:12 +0000 (23:13 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 15 Apr 2014 22:13:12 +0000 (23:13 +0100)
Doc/library/logging.rst

index 8d093e14789000502bee636d566df9c51e826f3f..c0a479e228d59322e3fc2eee065dac67ee591612 100644 (file)
@@ -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