diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-11-24 23:18:30 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-11-24 23:18:30 (GMT) |
commit | c9625c8e4b6f7057af23af534f8825c2f3f74d48 (patch) | |
tree | 26a4f0238b9737b01c603a83724db1856910d5dc /Doc | |
parent | d2f0726f86d5d2b2e88100996d765d6b4d37d2c9 (diff) | |
download | cpython-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.rst | 4 |
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 | |