highlights(python): "from" in yield should be @keyword.return

Fixes #2712
This commit is contained in:
Stephan Seitz 2022-04-01 16:50:57 +02:00
parent 4b9aec69bd
commit b8d1c2445a
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,7 @@
from foo import bar
# ^ @include
# ^ @include
def generator():
yield from bar(42)
# ^ @keyword.return
# ^ @keyword.return