8000 [docs] Clarify a guarantee of the logging module. by gpshead · Pull Request #19132 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[docs] Clarify a guarantee of the logging module. #19132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Clarify a guarantee of the logging module.
When no additional arguments are passed to logging.debug() and related
methods, no % operation is performed on the passed in message.
  • Loading branch information
gpshead committed Mar 24, 2020
commit 66f687dbfaa5ee50338157acf20e2ce9b1758b1e
1 change: 1 addition & 0 deletions Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ is the module's name in the Python package namespace.
message format string, and the *args* are the arguments which are merged into
4F54 *msg* using the string formatting operator. (Note that this means that you can
use keywords in the format string, together with a single dictionary argument.)
No % formatting operation is performed on *msg* when no *args* are supplied.

There are four keyword arguments in *kwargs* which are inspected:
*exc_info*, *stack_info*, *stacklevel* and *extra*.
Expand Down
0