summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorJochem Boersma <jochem.boersma@witteveenbos.com>2023-07-22 20:43:18 (GMT)
committerGitHub <noreply@github.com>2023-07-22 20:43:18 (GMT)
commit5e5a34ac3a827e040cd89426b1774fec2123336a (patch)
treec822a49fbf154ccc2834d93fd6bbf0c82b261957 /Lib/logging
parent22422e9d1a50b4970bc6957a88569618d579c47f (diff)
downloadcpython-5e5a34ac3a827e040cd89426b1774fec2123336a.zip
cpython-5e5a34ac3a827e040cd89426b1774fec2123336a.tar.gz
cpython-5e5a34ac3a827e040cd89426b1774fec2123336a.tar.bz2
gh-107028: tiny textual changes in logging docs and docstrings (GH-107029)
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py
index 9847104..671cc95 100644
--- a/Lib/logging/handlers.py
+++ b/Lib/logging/handlers.py
@@ -1399,7 +1399,7 @@ class MemoryHandler(BufferingHandler):
records to the target, if there is one. Override if you want
different behaviour.
- The record buffer is also cleared by this operation.
+ The record buffer is only cleared if a target has been set.
"""
self.acquire()
try: