]> 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:18:30 +0000 (23:18 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 24 Nov 2015 23:18:30 +0000 (23:18 +0000)
Doc/library/logging.rst

index 9f778f58ec44b6fcd70a2a982d1a7daa00a419e9..217cdc099aca1eae5ff6a0cce7d3a6a409115771 100644 (file)
@@ -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   |