summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-22 21:11:29 (GMT)
committerGitHub <noreply@github.com>2023-07-22 21:11:29 (GMT)
commitdd431d791f2f6bd8b5746edec01ec402fe04345d (patch)
tree31c3ee6caebecc45c396d78676c5c6e467e601dd /Lib/logging
parent0fff068181d1ad69907c06c1e0b30d5467a80f39 (diff)
downloadcpython-dd431d791f2f6bd8b5746edec01ec402fe04345d.zip
cpython-dd431d791f2f6bd8b5746edec01ec402fe04345d.tar.gz
cpython-dd431d791f2f6bd8b5746edec01ec402fe04345d.tar.bz2
[3.12] gh-107028: tiny textual changes in logging docs and docstrings (GH-107029) (GH-107065)
(cherry picked from commit 5e5a34ac3a827e040cd89426b1774fec2123336a)
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: