summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2015-11-24 23:18:30 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2015-11-24 23:18:30 (GMT)
commitc9625c8e4b6f7057af23af534f8825c2f3f74d48 (patch)
tree26a4f0238b9737b01c603a83724db1856910d5dc /Doc
parentd2f0726f86d5d2b2e88100996d765d6b4d37d2c9 (diff)
downloadcpython-c9625c8e4b6f7057af23af534f8825c2f3f74d48.zip
cpython-c9625c8e4b6f7057af23af534f8825c2f3f74d48.tar.gz
cpython-c9625c8e4b6f7057af23af534f8825c2f3f74d48.tar.bz2
Issue #25508: Clarify documentation on LogRecord args attribute.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/logging.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 9f778f5..217cdc0 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 |