diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-03-28 10:26:14 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-03-28 10:26:14 +0100 |
commit | 79d5a3a783cf0b5a729e4e467508e955a0cca55f (patch) | |
tree | 82b22c25eda03518ea698ef982e7be9c83e20af9 /astroid/modutils.py | |
parent | 44bbb980f30ac0d68fa5c862ac61473fdb2ab777 (diff) | |
download | astroid-git-79d5a3a783cf0b5a729e4e467508e955a0cca55f.tar.gz |
Improved builtin inference for ``tuple``, ``set``, ``frozenset``, ``list`` and ``dict``
We were properly inferring these callables *only* if they had consts as
values, but that is not the case most of the time. Instead we try to infer
the values that their arguments can be and use them instead of assuming
Const nodes all the time.
Close PyCQA/pylint#2841
Diffstat (limited to 'astroid/modutils.py')
0 files changed, 0 insertions, 0 deletions