diff --git a/web/faq.html b/web/faq.html index 0edab4f..151821f 100644 --- a/web/faq.html +++ b/web/faq.html @@ -25,7 +25,7 @@
What exactly is <collection>?
    Collection is my name for an iterable object. An iterable object in Python is any object that has at least one of iter() and getitem() special methods defined. <object>.__iter__() returns an iterator of object's items and <object>.__getitem__(<index>) returns an item at that index. I chose not to use the name iterable because it sounds scarier and more vague than collection, even though it has a precise definition.

-    <iterable> should not be confused with abstract base class collections.abc.Iterable. Expression instanceof(<object>, collections.abc.Iterable) only checks if object has iter() special method. instanceof(<object>, collections.abc.Collection) checks for len(), iter() and contains(). +    <iterable> should not be confused with abstract base class collections.abc.Iterable. Expression instanceof(<object>, collections.abc.Iterable) only checks if object has iter() special method. instanceof(<object>, collections.abc.Collection) checks for len(), iter() and contains().

What about PEP 8?