https://github.com/python/cpython/commit/82cd8fee31823b560e664f81b430a9186d6019dd commit: 82cd8fee31823b560e664f81b430a9186d6019dd branch: main author: Daniel Hollas <danekhol...@gmail.com> committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com> date: 2024-01-24T05:16:31+01:00 summary:
Fix a typo in the contextlib documentation (#114507) files: M Doc/library/contextlib.rst diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index b73373bc2363fb..73e53aec9cbf1c 100644 --- a/Doc/library/contextlib.rst +++ b/Doc/library/contextlib.rst @@ -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, _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com