diff options
author | Zachary Ware <zach@python.org> | 2024-05-31 17:19:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 17:19:54 (GMT) |
commit | f3fc800d5f17b144a752a262102b750bedcdaa14 (patch) | |
tree | f76cae5d9f2d5d78dbfa8cc51661ec65bba70b11 /Doc | |
parent | 015b1fdd0ae03f94a5dfda051b020810d1c952dd (diff) | |
download | cpython-f3fc800d5f17b144a752a262102b750bedcdaa14.zip cpython-f3fc800d5f17b144a752a262102b750bedcdaa14.tar.gz cpython-f3fc800d5f17b144a752a262102b750bedcdaa14.tar.bz2 |
contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119867)
Reported by Michael Kass on docs@
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/contextlib.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index 73e53ae..bad9da5 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 |