summaryrefslogtreecommitdiff
path: root/pylint/test/functional/yield_from_iterable_py33.py
blob: 7803936d5334854af0c64870adcd7f48c61b8602 (plain)
1
2
3
4
5
6
7
"""
Check that `yield from`-statement takes an iterable.
"""
# pylint: disable=missing-docstring

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