contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119867)

Reported by Michael Kass on docs@
This commit is contained in:
Zachary Ware 2024-05-31 12:19:54 -05:00 committed by GitHub
parent 015b1fdd0a
commit f3fc800d5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View 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