]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-28516: document contextlib.ExitStack.__enter__ behavior (GH-31636) (GH-32145)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 28 Mar 2022 18:45:45 +0000 (11:45 -0700)
committerGitHub <noreply@github.com>
Mon, 28 Mar 2022 18:45:45 +0000 (11:45 -0700)
commit1e3132b1c3ebff8d28a6dd353bf217cb97c41e81
treeaff32827d9d789721267559ab30f51d13718d38a
parent25c40bd994aa0da75283c5efdd71ba26c734b67e
bpo-28516: document contextlib.ExitStack.__enter__ behavior (GH-31636) (GH-32145)

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>
Co-authored-by: Ned Deily <nad@python.org>
Doc/library/contextlib.rst