Skip to content

Commit f2e5a6e

Browse files
gh-102873: logging.LogRecord docs: improve description of msg parameter (#102875)
Co-authored-by: Alex Waygood <[email protected]>
1 parent acfe02f commit f2e5a6e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/logging.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,9 @@ wire).
813813
:type lineno: int
814814

815815
:param msg: The event description message,
816-
which can be a %-format string with placeholders for variable data.
817-
:type msg: str
816+
which can be a %-format string with placeholders for variable data,
817+
or an arbitrary object (see :ref:`arbitrary-object-messages`).
818+
:type msg: typing.Any
818819

819820
:param args: Variable data to merge into the *msg* argument
820821
to obtain the event description.

0 commit comments

Comments
 (0)