summaryrefslogtreecommitdiff
path: root/astroid/modutils.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2020-03-10 11:17:42 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2020-03-10 11:17:42 +0100
commit3de18c673972e238f600be3e56401df73717ecd8 (patch)
treedbef0f21dcf4f3305e4de0e8ccecf55592595342 /astroid/modutils.py
parentf3863b1d6d7ce5219f98062e7eda97f932e676cc (diff)
downloadastroid-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