From: Vinay Sajip Date: Tue, 24 Nov 2015 23:18:30 +0000 (+0000) Subject: Issue #25508: Clarify documentation on LogRecord args attribute. X-Git-Tag: v2.7.12rc1~374 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9625c8e4b6f7057af23af534f8825c2f3f74d48;p=thirdparty%2FPython%2Fcpython.git Issue #25508: Clarify documentation on LogRecord args attribute. --- diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 9f778f58ec44..217cdc099aca 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -622,7 +622,9 @@ format string. | Attribute name | Format | Description | +================+=========================+===============================================+ | args | You shouldn't need to | The tuple of arguments merged into ``msg`` to | -| | format this yourself. | produce ``message``. | +| | format this yourself. | produce ``message``, or a dict whose values | +| | | are used for the merge (when there is only one| +| | | argument, and it is a dictionary). | +----------------+-------------------------+-----------------------------------------------+ | asctime | ``%(asctime)s`` | Human-readable time when the | | | | :class:`LogRecord` was created. By default |