mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
[3.12] Fix a typo in the contextlib documentation (GH-114507) (#114514)
This commit is contained in:
parent
386c72d992
commit
2692f5b6d2
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue