mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Merged revisions 84945 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ........ r84945 | georg.brandl | 2010-09-21 16:48:28 +0200 (Di, 21 Sep 2010) | 1 line #9911: doc copyedits. ........
This commit is contained in:
parent
57a5e3f0e2
commit
4b05466e25
25 changed files with 39 additions and 29 deletions
|
@ -344,7 +344,7 @@ All of this makes generator functions quite similar to coroutines; they yield
|
|||
multiple times, they have more than one entry point and their execution can be
|
||||
suspended. The only difference is that a generator function cannot control
|
||||
where should the execution continue after it yields; the control is always
|
||||
transfered to the generator's caller.
|
||||
transferred to the generator's caller.
|
||||
|
||||
The :keyword:`yield` statement is allowed in the :keyword:`try` clause of a
|
||||
:keyword:`try` ... :keyword:`finally` construct. If the generator is not
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue