summaryrefslogtreecommitdiff
path: root/astroid/tree/scoped_nodes.py
diff options
context:
space:
mode:
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: