Files
openide/python/testData/highlighting/async.py
T
2015-09-08 12:25:10 +03:00

29 lines
860 B
Python

<info descr="null">async</info> def <info descr="null">foo</info>():
pass
async = 1
<info descr="null">async</info> def <info descr="null">bar</info>():
pass
<info descr="null">async</info> def<error descr="'(' expected"><error descr="Identifier expected"> </error></error> # Incomplete<EOLError descr="':' expected"></EOLError>
<error descr="Indent expected">d</error>ef <info descr="null">regular</info>(<info descr="null">xs</info>):
<info descr="null">async</info> def <info descr="null">quux</info>():
<info descr="null">async</info> for x in xs:
pass
<info descr="null">async</info> with xs:
pass
<info descr="null">async</info> for x in xs:
pass
async<error descr="End of statement expected"> </error>with <info descr="null">xs</info>:
pass
return async