]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-28516: document contextlib.ExitStack.__enter__ behavior (GH-31636)
authorvidhya <96202776+Vidhyavinu@users.noreply.github.com>
Mon, 28 Mar 2022 04:31:32 +0000 (00:31 -0400)
committerGitHub <noreply@github.com>
Mon, 28 Mar 2022 04:31:32 +0000 (21:31 -0700)
commit86384cf83f96fcaec03e2ad6516e2e24f20d3b92
treea453164d8a45e492402bf9ef8c88a287d4d4dc56
parent76f14b0463dc2c53911eaf95e85374e511ba9bcc
bpo-28516: document contextlib.ExitStack.__enter__ behavior (GH-31636)

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>
Doc/library/contextlib.rst