summaryrefslogtreecommitdiffstats
path: root/Doc/faq/design.rst
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-06 13:56:57 (GMT)
committerGitHub <noreply@github.com>2021-10-06 13:56:57 (GMT)
commitd15f47d1797292be7fe7f846f389bcd023a710d5 (patch)
treeef26de028d212b8d91af6e1ddaa7985ed727d061 /Doc/faq/design.rst
parent325e4647afffe347cc20747f3dccc6ba9e782636 (diff)
downloadcpython-d15f47d1797292be7fe7f846f389bcd023a710d5.zip
cpython-d15f47d1797292be7fe7f846f389bcd023a710d5.tar.gz
cpython-d15f47d1797292be7fe7f846f389bcd023a710d5.tar.bz2
[3.10] [doc] Fix typos found using codespell (GH-28744) (GH-28758)
Diffstat (limited to 'Doc/faq/design.rst')
-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?