File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1885,10 +1885,10 @@ are always available. They are listed here in alphabetical order.
1885
1885
``D -> B -> C -> A -> object `` and the value of *type * is ``B ``,
1886
1886
then :func: `super ` searches ``C -> A -> object ``.
1887
1887
1888
- The :attr: `~class.__mro__ ` attribute of the * object_or_type * lists the method
1889
- resolution search order used by both :func: ` getattr ` and :func: ` super `. The
1890
- attribute is dynamic and can change whenever the inheritance hierarchy is
1891
- updated.
1888
+ The :attr: `~class.__mro__ ` attribute of the class corresponding to
1889
+ * object_or_type * lists the method resolution search order used by both
1890
+ :func: ` getattr ` and :func: ` super `. The attribute is dynamic and can change
1891
+ whenever the inheritance hierarchy is updated.
1892
1892
1893
1893
If the second argument is omitted, the super object returned is unbound. If
1894
1894
the second argument is an object, ``isinstance(obj, type) `` must be true. If
You can’t perform that action at this time.
0 commit comments