summaryrefslogtreecommitdiff
path: root/astroid/helpers.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-03-05 11:35:05 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2018-03-05 11:35:55 +0100
commitb7b0f338618aa206bf210d3e5a4f554594d0c44a (patch)
treee6c5b2f2d460efdabef965aca0a70bb236714982 /astroid/helpers.py
parent2c1e49542a800875904e36e6ac9309c96f7f989c (diff)
downloadastroid-git-b7b0f338618aa206bf210d3e5a4f554594d0c44a.tar.gz
Replace handling of AstroidError with MroError
I'm not sure why AstroidError was added in the first place, as this is the most general exception in astroid.
Diffstat (limited to 'astroid/helpers.py')
-rw-r--r--astroid/helpers.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/astroid/helpers.py b/astroid/helpers.py
index 2e633a07..d3522442 100644
--- a/astroid/helpers.py
+++ b/astroid/helpers.py
@@ -91,8 +91,6 @@ def object_isinstance(node, class_or_seq, context=None):
:rtype: bool
:raises AstroidTypeError: if the given ``classes_or_seq`` are not types
- :raises AstroidError: if the type of the given node cannot be inferred
- or its type's mro doesn't work
"""
if not isinstance(class_or_seq, (tuple, list)):
class_seq = (class_or_seq,)