https://github.com/python/cpython/commit/2f7fada58091c518fd6784e108cce83bf6c310ac
commit: 2f7fada58091c518fd6784e108cce83bf6c310ac
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: zware <[email protected]>
date: 2024-05-31T17:27:57Z
summary:

[3.12] contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119873)

Reported by Michael Kass on docs@
(cherry picked from commit f3fc800d5f17b144a752a262102b750bedcdaa14)

files:
M Doc/library/contextlib.rst

diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index 73e53aec9cbf1c..bad9da52d6a6ca 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to