diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-31 17:39:02 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-31 17:39:02 (GMT) |
| commit | eb5e19aa685fab3832b2a44ec5867068baf6e1a7 (patch) | |
| tree | 4a77e4876921501da0df11ccc6a271b6fa068aa4 | |
| parent | 24e3a8a9a6b9d99ad4b861cdcad6152952145a61 (diff) | |
| download | cpython-eb5e19aa685fab3832b2a44ec5867068baf6e1a7.zip cpython-eb5e19aa685fab3832b2a44ec5867068baf6e1a7.tar.gz cpython-eb5e19aa685fab3832b2a44ec5867068baf6e1a7.tar.bz2 | |
[3.13] contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119872)
Reported by Michael Kass on docs@
(cherry picked from commit f3fc800d5f17b144a752a262102b750bedcdaa14)
| -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 |
