]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-28516: document contextlib.ExitStack.__enter__ behavior (GH-31636) (GH...
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Tue, 29 Mar 2022 02:39:55 +0000 (19:39 -0700)
committerGitHub <noreply@github.com>
Tue, 29 Mar 2022 02:39:55 +0000 (19:39 -0700)
commit604d003ab4d1084ef828ebca1b28f2bf1b93c744
tree16a5b7187208e5311fb7489b4874d223b0118725
parent0dfabf9b4a58b835b61fc3d17784d4746f677e56
[3.10] bpo-28516: document contextlib.ExitStack.__enter__ behavior (GH-31636) (GH-32171)

The enter_context is updated with following information: 'The :meth:`__enter__` method
      returns the ExitStack instance, and performs no additional operations.'

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 86384cf83f96fcaec03e2ad6516e2e24f20d3b92)

Co-authored-by: vidhya <96202776+Vidhyavinu@users.noreply.github.com>
Doc/library/contextlib.rst