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_outside_func.py @ 745

History | View | Annotate | Download (138 Bytes)

1
"""This is gramatically correct, but it's still a SyntaxError"""
2
yield 1  # [yield-outside-function]
3

    
4
LAMBDA_WITH_YIELD = lambda: (yield)