Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf2e5a6e

Browse files
gh-102873: logging.LogRecord docs: improve description ofmsg parameter (#102875)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parentacfe02f commitf2e5a6e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎Doc/library/logging.rst‎

Lines changed: 3 additions & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp