summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-31 17:27:57 (GMT)
committerGitHub <noreply@github.com>2024-05-31 17:27:57 (GMT)
commit2f7fada58091c518fd6784e108cce83bf6c310ac (patch)
tree360f1f6e8a4ef4448d44c7a18359f0a10d8d448d /Doc
parent045be7729ef9357f53a01d7c42f742a6111a2bc0 (diff)
downloadcpython-2f7fada58091c518fd6784e108cce83bf6c310ac.zip
cpython-2f7fada58091c518fd6784e108cce83bf6c310ac.tar.gz
cpython-2f7fada58091c518fd6784e108cce83bf6c310ac.tar.bz2
[3.12] contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119873)
Reported by Michael Kass on docs@ (cherry picked from commit f3fc800d5f17b144a752a262102b750bedcdaa14)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/contextlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index 73e53ae..bad9da5 100644
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -796,7 +796,7 @@ executing that callback::
if result:
stack.pop_all()
-This allows the intended cleanup up behaviour to be made explicit up front,
+This allows the intended cleanup behaviour to be made explicit up front,
rather than requiring a separate flag variable.
If a particular application uses this pattern a lot, it can be simplified