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

This commit is contained in:
Vinay Sajip 2024-03-22 17:25:51 +00:00 committed by GitHub
parent 40d75c2b7f
commit 00baaa21de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 127 additions and 15 deletions

View file

@ -2013,7 +2013,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