Skip to content

Commit

Permalink
[3.11] Fix a typo in the contextlib documentation (GH-114507) (#114515)
Browse files Browse the repository at this point in the history
  • Loading branch information
miss-islington committed Jan 24, 2024
1 parent 666d07f commit 018b637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/contextlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Functions and classes provided:
.. note::

Most types managing resources support the :term:`context manager` protocol,
which closes *thing* on leaving the :keyword:`with` statment.
which closes *thing* on leaving the :keyword:`with` statement.
As such, :func:`!closing` is most useful for third party types that don't
support context managers.
This example is purely for illustration purposes,
Expand Down

0 comments on commit 018b637

Please sign in to comment.