diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-06 13:56:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 13:56:57 (GMT) |
commit | d15f47d1797292be7fe7f846f389bcd023a710d5 (patch) | |
tree | ef26de028d212b8d91af6e1ddaa7985ed727d061 /Doc/faq/design.rst | |
parent | 325e4647afffe347cc20747f3dccc6ba9e782636 (diff) | |
download | cpython-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.rst | 2 |
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? |