diff options
author | Ian Wienand <ian@wienand.org> | 2021-01-30 10:37:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 10:37:15 (GMT) |
commit | 62437a2fa9ebd2352dc1e15ae310895eef6ff981 (patch) | |
tree | 21a3a4a2b23c2a54bb0da0d290734b77ab941420 /Python/compile.c | |
parent | 5c5a938573ce665f00e362c7766912d9b3f3b44e (diff) | |
download | cpython-62437a2fa9ebd2352dc1e15ae310895eef6ff981.zip cpython-62437a2fa9ebd2352dc1e15ae310895eef6ff981.tar.gz cpython-62437a2fa9ebd2352dc1e15ae310895eef6ff981.tar.bz2 |
bpo-43047: logging.config formatters documentation update (GH-24358)
The documentation for some parts of the logging.config formatters has
fallen behind the code. For example, the dictionary-schema section
does not list the "class" attribute, however it is discussed in the
file/ini discussion; and neither references the style argument which
has been added.
This modifies the dictionary-schema formatters documentation to list
the keys available and overall makes it clearer these are passed to
create a logging.Formatter object.
The logging.Formatter documentation describes the default values of
format/datefmt and the various formatting options. Since we have now
more clearly described how the configuration is created via this type
of object, we remove the discussion in this document to avoid
duplication and rely on users reading the referenced logging.Formatter
documenation directly for such details.
Instead of duplicating the discussion for the two config types, the
file/ini section is modified to link back to the dictionary-schema
discussion, making it clear the same arguments are accepted.
Automerge-Triggered-By: GH:vsajip
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions