[docs] Misleading yield as a statement vs an expression

Amirouche Boubekki amirouche.boubekki at gmail.com
Mon Dec 12 21:58:29 CET 2011


Héllo,

Documentation about the yield *expression* can be found twice at [1] and
[2]. This is misleading, I think only the [2] is relevant since PEP 342 [3].

HTH,

[1]
http://docs.python.org/reference/expressions.html#grammar-token-yield_atom
[2]
http://docs.python.org/reference/simple_stmts.html#grammar-token-yield_stmt
[3] http://www.python.org/dev/peps/pep-0342/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20111212/0d3c7f51/attachment.html>


More information about the docs mailing list