From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 24 Jan 2024 04:22:38 +0000 (+0100) Subject: [3.11] Fix a typo in the contextlib documentation (GH-114507) (#114515) X-Git-Tag: v3.11.8~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=018b637a529d9b56eea423c55627cb5cba03954b;p=thirdparty%2FPython%2Fcpython.git [3.11] Fix a typo in the contextlib documentation (GH-114507) (#114515) --- diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index fd264883c682..7f798e03a3f0 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,