summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2024-03-22 17:25:51 (GMT)
committerGitHub <noreply@github.com>2024-03-22 17:25:51 (GMT)
commit00baaa21de229a6db80ff2b84c2fd6ad1999a24c (patch)
treee047ce861ab4e48ec84e0c7882358eb44c5672ab /Lib/logging
parent40d75c2b7f5c67e254d0a025e0f2e2c7ada7f69f (diff)
downloadcpython-00baaa21de229a6db80ff2b84c2fd6ad1999a24c.zip
cpython-00baaa21de229a6db80ff2b84c2fd6ad1999a24c.tar.gz
cpython-00baaa21de229a6db80ff2b84c2fd6ad1999a24c.tar.bz2
[docs] Fix typo in docstring and add example to logging cookbook. (GH-117157)
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index fcec9e7..927e3e6 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -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