[3.12] [docs] Fix typo in docstring and add example to logging cookbook. (GH-117157) (GH-117159)

(cherry picked from commit 00baaa21de)
This commit is contained in:
Miss Islington (bot) 2024-03-22 18:50:02 +01:00 committed by GitHub
parent 1ea85e271b
commit 135a698d5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 127 additions and 15 deletions

View file

@ -2049,7 +2049,7 @@ def basicConfig(**kwargs):
that this argument is incompatible with 'filename' - if both
are present, 'stream' is ignored.
handlers If specified, this should be an iterable of already created
handlers, which will be added to the root handler. Any handler
handlers, which will be added to the root logger. Any handler
in the list which does not have a formatter assigned will be
assigned the formatter created in this function.
force If this keyword is specified as true, any existing handlers