Skip to content

Commit bb790e5

Browse files
committed
Merge branch 'mailbox_with_context_manager' of https://github.com/sblondon/cpython into mailbox_with_context_manager
2 parents 3c68123 + 755dc1c commit bb790e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/mailbox.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF.
8181
enters and releases it and :meth:`close` when the :keyword:`with` statement
8282
exits.
8383

84-
.. versionchanged:: 3.7
84+
.. versionchanged:: 3.9
8585
Support for the :keyword:`with` statement was added.
8686

8787
:class:`Mailbox` instances have the following methods:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Mailbox instances can be used in the context manager. The Mailbox is locked
1+
Mailbox instances can be used as a context manager. The Mailbox is locked
22
at enter and unlocked and closed at exit.

0 commit comments

Comments
 (0)