]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Fix a typo in the contextlib documentation (GH-114507) (#114515)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Jan 2024 04:22:38 +0000 (05:22 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Jan 2024 04:22:38 +0000 (04:22 +0000)
Doc/library/contextlib.rst

index fd264883c6823c2ae4640c562be647df75889a27..7f798e03a3f0145bd531c3d2e0871f8c4746de82 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,