]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a typo in the contextlib documentation (#114507)
authorDaniel Hollas <danekhollas@gmail.com>
Wed, 24 Jan 2024 04:16:31 +0000 (04:16 +0000)
committerGitHub <noreply@github.com>
Wed, 24 Jan 2024 04:16:31 +0000 (05:16 +0100)
Doc/library/contextlib.rst

index b73373bc2363fb02c0050680743ee309c3bada4a..73e53aec9cbf1c187634e34c85226c241f4fede8 100644 (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,