summaryrefslogtreecommitdiff
path: root/astroid/rebuilder.py
diff options
context:
space:
mode:
authorNick Drozd <nicholasdrozd@gmail.com>2018-03-17 15:15:22 -0500
committerClaudiu Popa <pcmanticore@gmail.com>2018-03-30 08:40:02 +0200
commite2a9c4e937330cbd510ba4ca7240b43448a46158 (patch)
tree6bfa06196de0f09df005d39e7793cc9fba32e12a /astroid/rebuilder.py
parent34a8c0cc9e0cfa54eb1310cd4fc2f13d6a1c1104 (diff)
downloadastroid-git-e2a9c4e937330cbd510ba4ca7240b43448a46158.tar.gz
Improve _get_yield_nodes_skip_lambdas algorithm
Yield statements can only appear in multiline bodies (like function definitions) and in lambdas, so there is no need to check other nodes for them.
Diffstat (limited to 'astroid/rebuilder.py')
0 files changed, 0 insertions, 0 deletions