Kaydet (Commit) b3437c9f authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Minor grammar re-wording

üst a5cd1827
...@@ -1772,7 +1772,7 @@ The following methods are used to override the default behavior of the ...@@ -1772,7 +1772,7 @@ The following methods are used to override the default behavior of the
In particular, the metaclass :class:`abc.ABCMeta` implements these methods in In particular, the metaclass :class:`abc.ABCMeta` implements these methods in
order to allow the addition of Abstract Base Classes (ABCs) as "virtual base order to allow the addition of Abstract Base Classes (ABCs) as "virtual base
classes" to any class or type (including built-in types), and including to other classes" to any class or type (including built-in types), including other
ABCs. ABCs.
.. method:: class.__instancecheck__(self, instance) .. method:: class.__instancecheck__(self, instance)
...@@ -1791,7 +1791,7 @@ ABCs. ...@@ -1791,7 +1791,7 @@ ABCs.
Note that these methods are looked up on the type (metaclass) of a class. They Note that these methods are looked up on the type (metaclass) of a class. They
cannot be defined as class methods in the actual class. This is consistent with cannot be defined as class methods in the actual class. This is consistent with
the lookup of special methods that are called on instances, only that in this the lookup of special methods that are called on instances, only in this
case the instance is itself a class. case the instance is itself a class.
.. seealso:: .. seealso::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment