[3.13] contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119872)

Reported by Michael Kass on docs@
(cherry picked from commit f3fc800d5f)
This commit is contained in:
Miss Islington (bot) 2024-05-31 19:39:02 +02:00 committed by GitHub
parent 24e3a8a9a6
commit eb5e19aa68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -796,7 +796,7 @@ executing that callback::
if result: if result:
stack.pop_all() 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. rather than requiring a separate flag variable.
If a particular application uses this pattern a lot, it can be simplified If a particular application uses this pattern a lot, it can be simplified