changeset: 83701:7b8c0bf8fcb8 branch: 2.7 parent: 83692:9b86fb6f5bc9 user: Andrew Kuchling date: Thu May 09 20:55:22 2013 -0400 files: Doc/reference/simple_stmts.rst description: #14878: add cross-reference to the yield statement. (Backported from 3.x by Jan Duzinkiewicz.) diff -r 9b86fb6f5bc9 -r 7b8c0bf8fcb8 Doc/reference/simple_stmts.rst --- a/Doc/reference/simple_stmts.rst Thu May 09 14:22:05 2013 +0300 +++ b/Doc/reference/simple_stmts.rst Thu May 09 20:55:22 2013 -0400 @@ -511,6 +511,9 @@ :meth:`close` method will be called, allowing any pending :keyword:`finally` clauses to execute. +For full details of :keyword:`yield` semantics, refer to the :ref:`yieldexpr` +section. + .. note:: In Python 2.2, the :keyword:`yield` statement was only allowed when the

AltStyle によって変換されたページ (->オリジナル) /