Nikolaus Rath added the comment:

That makes sense. Attached is an updated patch. It removes most of the 
duplication, and clearly says that there is no semantic difference between the 
yield statement and the yield expression at all.

I also moved the "see also" block to follow the description of the yield 
expression. At least for me, it was rather easy to miss in its current position 
(at the end of the second example subsection). The rest of the code churn in 
that section is just removing all the (presumably accidental) links to the 
yield statement when referring to a yield expression.

----------
Added file: http://bugs.python.org/file33583/yield-docpatch-rev3.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12704>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to