Skip to content
Snippets Groups Projects
Commit 7ead5dd6 authored by Bryce Guinta's avatar Bryce Guinta Committed by Claudiu Popa
Browse files

Update mro method docstring with additional possible exceptions

Prevents users from having to dig through the call chain to figure out which possible
exceptions are raised
parent e1511f4c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2632,6 +2632,8 @@ class ClassDef(mixins.FilterStmtsMixin, LocalsDictNodeNG,
 
:raises NotImplementedError: If this is an old style class,
since they don't have the concept of an MRO.
:raises DuplicateBasesError: Duplicate bases in the same class base
:raises InconsistentMroError: A class' MRO is inconsistent
"""
 
if not self.newstyle:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment