From: Vinay Sajip Date: Tue, 24 Nov 2015 23:21:15 +0000 (+0000) Subject: Issue #25508: Clarify documentation on LogRecord args attribute. X-Git-Tag: v3.4.4rc1~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f44d53770c42818a4d8ca4036e2602fff3a7c88;p=python Issue #25508: Clarify documentation on LogRecord args attribute. --- diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 90fb9b06d1..8fd7e40599 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -738,7 +738,9 @@ the options available to you. | 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 |