mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Closes #21245: merged update from 3.4.
This commit is contained in:
commit
aef3027aaf
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue