From: Zachary Ware Date: Fri, 31 May 2024 17:19:54 +0000 (-0500) Subject: contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119867) X-Git-Tag: v3.14.0a1~1675 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3fc800d5f17b144a752a262102b750bedcdaa14;p=thirdparty%2FPython%2Fcpython.git contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119867) Reported by Michael Kass on docs@ --- diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index 73e53aec9cbf..bad9da52d6a6 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