diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2020-03-10 11:17:42 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2020-03-10 11:17:42 +0100 |
commit | 3de18c673972e238f600be3e56401df73717ecd8 (patch) | |
tree | dbef0f21dcf4f3305e4de0e8ccecf55592595342 /astroid/modutils.py | |
parent | f3863b1d6d7ce5219f98062e7eda97f932e676cc (diff) | |
download | astroid-git-3de18c673972e238f600be3e56401df73717ecd8.tar.gz |
Infer the __len__ result of a subclass of an integer
Rather than failing the inference altogether, we can infer the default
int value for subclasses of ints.
Diffstat (limited to 'astroid/modutils.py')
0 files changed, 0 insertions, 0 deletions