summaryrefslogtreecommitdiff
path: root/astroid/protocols.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-07-24 10:27:49 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2018-07-24 10:27:49 +0200
commit8841891b2337c8166450cc84c1e503e22d49daa7 (patch)
treef5fe9fbeee09decbd9d210047dda83034f39d41d /astroid/protocols.py
parentfcbf25697d613c37bcc9d38004d576ce97f2cd78 (diff)
downloadastroid-git-8841891b2337c8166450cc84c1e503e22d49daa7.tar.gz
Wrap the inference functions with raise_if_nothing_inferred where we didn't have any guards against them
This is especially important in a Python 3.7 worlds where we need to handle StopIteration that can be triggered by next() over empty generators.
Diffstat (limited to 'astroid/protocols.py')
0 files changed, 0 insertions, 0 deletions