summaryrefslogtreecommitdiff
path: root/astroid/tree/scoped_nodes.py
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2015-11-17 22:58:53 -0500
committerCeridwen <ceridwenv@gmail.com>2015-11-17 22:58:53 -0500
commitc36ad29447bc6da965391c5cbbff64f32b2ae2d5 (patch)
tree63770f528af187e80ce83f8181561d66ba27b908 /astroid/tree/scoped_nodes.py
parent4b142b1c8805f52b083475479319b4f4a67c7cb4 (diff)
downloadastroid-git-c36ad29447bc6da965391c5cbbff64f32b2ae2d5.tar.gz
Fix TypeErrors for old-style classes for __slots__ and MROs
Diffstat (limited to 'astroid/tree/scoped_nodes.py')
-rw-r--r--astroid/tree/scoped_nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/tree/scoped_nodes.py b/astroid/tree/scoped_nodes.py
index dad309cf..fa95420c 100644
--- a/astroid/tree/scoped_nodes.py
+++ b/astroid/tree/scoped_nodes.py
@@ -2086,7 +2086,7 @@ class ClassDef(mixins.FilterStmtsMixin, LocalsDictNodeNG,
"""Get the method resolution order, using C3 linearization.
It returns the list of ancestors sorted by the mro.
- This will raise `MroError` for old-style classes, since
+ This will raise `TypeError` for old-style classes, since
they don't have the concept of MRO.
"""
if not self.newstyle: