aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-31 19:27:57 +0200
committerGitHub <noreply@github.com>2024-05-31 17:27:57 +0000
commit2f7fada58091c518fd6784e108cce83bf6c310ac (patch)
tree360f1f6e8a4ef4448d44c7a18359f0a10d8d448d
parent[3.12] gh-100117: Fix inaccuracy in documentation of the CodeObject's co_posi... (diff)
downloadcpython-2f7fada58091c518fd6784e108cce83bf6c310ac.tar.gz
cpython-2f7fada58091c518fd6784e108cce83bf6c310ac.tar.bz2
cpython-2f7fada58091c518fd6784e108cce83bf6c310ac.zip
[3.12] contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119873)
Reported by Michael Kass on docs@ (cherry picked from commit f3fc800d5f17b144a752a262102b750bedcdaa14)
-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 73e53aec9cb..bad9da52d6a 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