On Thu, Aug 14, 2014 at 7:35 PM, Makoto Kuwata <kwa...@gmail.com> wrote:
> I understand that::
>
>     yield from xs
>
> is syntax suger of::
>
>     for x in xs:
>       yield x

Not just. It's like that for simple cases, but there are edge cases
that are much more complicated to do manually, and are simply taken
care of. Best would be to read the PEP itself:

http://www.python.org/dev/peps/pep-0380/

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to