Skip to content

Commit c834a4c

Browse files
miss-islingtonaminalaeeAlexWaygood
authored
gh-102873: logging.LogRecord docs: improve description of msg parameter (GH-102875)
(cherry picked from commit f2e5a6e) Co-authored-by: Amin Alaee <mohammadamin.alaee@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent 6716139 commit c834a4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: Doc/library/logging.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -796,8 +796,9 @@ wire).
796796
:type lineno: int
797797

798798
:param msg: The event description message,
799-
which can be a %-format string with placeholders for variable data.
800-
:type msg: str
799+
which can be a %-format string with placeholders for variable data,
800+
or an arbitrary object (see :ref:`arbitrary-object-messages`).
801+
:type msg: typing.Any
801802

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

0 commit comments

Comments
 (0)