]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119867)
authorZachary Ware <zach@python.org>
Fri, 31 May 2024 17:19:54 +0000 (12:19 -0500)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 17:19:54 +0000 (17:19 +0000)
Reported by Michael Kass on docs@

Doc/library/contextlib.rst

index 73e53aec9cbf1c187634e34c85226c241f4fede8..bad9da52d6a6ca9fdff0013a44a46f03a5d11da4 100644 (file)
@@ -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