diff --git a/README.md b/README.md index 70b9d99..1326b83 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,7 @@ from types import FunctionType, MethodType, LambdaType, GeneratorType ``` ### ABC -**An abstract base class introduces virtual subclasses, that don’t inherit from it but are still recognized by isinstance() and issubclass().** +**An abstract base class introduces virtual subclasses that don’t inherit from it, but are still recognized by isinstance() and issubclass().** ```python >>> from collections.abc import Sequence, Collection, Iterable diff --git a/index.html b/index.html index 459db5a..b205614 100644 --- a/index.html +++ b/index.html @@ -389,7 +389,7 @@ to_exclusive = <range>.stop
from types import FunctionType, MethodType, LambdaType, GeneratorType
An abstract base class introduces virtual subclasses, that don’t inherit from it but are still recognized by isinstance() and issubclass().
>>> from collections.abc import Sequence, Collection, Iterable
+ABC
An abstract base class introduces virtual subclasses that don’t inherit from it, but are still recognized by isinstance() and issubclass().
>>> from collections.abc import Sequence, Collection, Iterable
>>> isinstance([1, 2, 3], Iterable)
True