File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ Object Protocol
307307 class, are considered classes. However, objects can override this by having
308308 a :attr: `~class.__bases__ ` attribute (which must be a tuple of base classes).
309309
310- Another function, :attr:`__base__` that is specific to CPython and also
310+ Another function, :attr:`~class. __base__` that is specific to CPython and also
311311 exists in Jython and PyPy can also be used on a class inheriting from one
312312 or more classes.
313313
@@ -347,7 +347,7 @@ Object Protocol
347347
348348 The first user defined class that inherits either an object or
349349 derives from a class (directly or indirectly) that inherits an
350- object is the value returned by the :attr:`__base__` function.
350+ object is the value returned by the :attr:`~class. __base__` function.
351351
352352 >>> class D(B, A): pass
353353 ...
You can’t perform that action at this time.
0 commit comments