[3.11] Fix a typo in the contextlib documentation (GH-114507) (#114515)

This commit is contained in:
Miss Islington (bot) 2024-01-24 05:22:38 +01:00 committed by GitHub
parent 666d07f241
commit 018b637a52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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,