| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Documentation build overview1 file changed ± library/contextlib.html |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Correct the ContextDecorator equivalence example to reuse one context manager instance across calls. The previous example constructed a new instance inside the function, which can behave differently for stateful managers.
Clarify the requirements for recursive and concurrent calls, and distinguish the per-call recreation provided by contextmanager().
Fixes #134537.
Validation: