From d9097bc815ca9958eef03438be070b233a37b48f Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 24 Jan 2024 04:16:31 +0000 Subject: [PATCH] Fix a typo in the contextlib documentation (GH-114507) (cherry picked from commit 82cd8fee31823b560e664f81b430a9186d6019dd) Co-authored-by: Daniel Hollas --- Doc/library/contextlib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index fd264883c6823c..7f798e03a3f014 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,