Statistics
| Revision:

gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / pylint / test / functional / yield_from_iterable_py33.py @ 745

History | View | Annotate | Download (151 Bytes)

1
"""
2
Check that `yield from`-statement takes an iterable.
3
"""
4
# pylint: disable=missing-docstring
5

    
6
def to_ten():
7
    yield from 10  # [not-an-iterable]