diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-07-24 10:27:49 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-07-24 10:27:49 +0200 |
commit | 8841891b2337c8166450cc84c1e503e22d49daa7 (patch) | |
tree | f5fe9fbeee09decbd9d210047dda83034f39d41d /astroid/protocols.py | |
parent | fcbf25697d613c37bcc9d38004d576ce97f2cd78 (diff) | |
download | astroid-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