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 @@ -1954,10 +1954,10 @@ are always available. They are listed here in alphabetical order.
1954
1954
``D -> B -> C -> A -> object `` and the value of *type * is ``B ``,
1955
1955
then :func: `super ` searches ``C -> A -> object ``.
1956
1956
1957
- The :attr: `~class.__mro__ ` attribute of the * object_or_type * lists the method
1958
- resolution search order used by both :func: ` getattr ` and :func: ` super `. The
1959
- attribute is dynamic and can change whenever the inheritance hierarchy is
1960
- updated.
1957
+ The :attr: `~class.__mro__ ` attribute of the class corresponding to
1958
+ * object_or_type * lists the method resolution search order used by both
1959
+ :func: ` getattr ` and :func: ` super `. The attribute is dynamic and can change
1960
+ whenever the inheritance hierarchy is updated.
1961
1961
1962
1962
If the second argument is omitted, the super object returned is unbound. If
1963
1963
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