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