https://github.com/python/cpython/commit/018b637a529d9b56eea423c55627cb5cba03954b
commit: 018b637a529d9b56eea423c55627cb5cba03954b
branch: 3.11
author: Miss Islington (bot) <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-01-24T04:22:38Z
summary:
[3.11] Fix a typo in the contextlib documentation (GH-114507) (#114515)
files:
M Doc/library/contextlib.rst
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,
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]