]> granicus.if.org Git - python/commitdiff
Issue #25508: Clarify documentation on LogRecord args attribute.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 24 Nov 2015 23:21:15 +0000 (23:21 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 24 Nov 2015 23:21:15 +0000 (23:21 +0000)
Doc/library/logging.rst

index 90fb9b06d1c9e1301cd259e12367b0777872faf2..8fd7e40599a9b654fb3d7a92974d03c519f920ee 100644 (file)
@@ -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   |