summaryrefslogtreecommitdiffstats
path: root/Doc/faq
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-05 21:48:44 (GMT)
committerGitHub <noreply@github.com>2021-10-05 21:48:44 (GMT)
commit241bda785a092a272d7e0f6a4e20bd250c389cfe (patch)
treed1ec44882a46c83d3a91d6ce5e312954cffab269 /Doc/faq
parent4c8d543823dde5a30615da61727837a48f7ab847 (diff)
downloadcpython-241bda785a092a272d7e0f6a4e20bd250c389cfe.zip
cpython-241bda785a092a272d7e0f6a4e20bd250c389cfe.tar.gz
cpython-241bda785a092a272d7e0f6a4e20bd250c389cfe.tar.bz2
[doc] Fix typos found using codespell (GH-28744)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Doc/faq')
-rw-r--r--Doc/faq/design.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst
index 720b1e4..0437b59 100644
--- a/Doc/faq/design.rst
+++ b/Doc/faq/design.rst
@@ -714,7 +714,7 @@ Why don't generators support the with statement?
For technical reasons, a generator used directly as a context manager
would not work correctly. When, as is most common, a generator is used as
an iterator run to completion, no closing is needed. When it is, wrap
-it as "contextlib.closing(generator)" in the 'with' statment.
+it as "contextlib.closing(generator)" in the 'with' statement.
Why are colons required for the if/while/def/class statements?