Files
openide/python/testData/highlighting/yieldInNestedFunction.py

6 lines
400 B
Python

# func declarations are red
def <info descr="PY.FUNC_DEFINITION" foreground="0xff0000" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">foo</info>():
def <info descr="PY.FUNC_DEFINITION" foreground="0xff0000" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">a</info>():
yield 1
return <info descr="PY.BUILTIN_NAME">False</info>