#### Discrepancies between glossary definitions and abstract base classes:
* **Python's glossary defines iterable as any object with iter() or getitem() and sequence as any object with getitem() and len(). It does not define collection.**
* **Passing ABC Iterable to isinstance() or issubclass() checks whether object/class has method iter(), while ABC Collection checks for iter(), contains() and len().**
* **Python's glossary defines iterable as any object with special methods iter() and/or getitem() and sequence as any object with getitem() and len(). It doesn't define collection.**
* **Passing ABC Iterable to isinstance() or issubclass() only checks whether object/class has special method iter(), while ABC Collection checks for iter(), contains() and len().**
### ABC Sequence
* **It's a richer interface than the basic sequence.**
@ -2086,7 +2086,7 @@ Memory View
Deque
-----
**List with efficient appends and pops from either side. Pronounced "deck".**
**List with efficient appends and pops from either side.**
```python
from collections import deque
@ -2229,7 +2229,7 @@ CRITICAL:my_module:Running out of disk space.
Introspection
-------------
```python
<list> = dir() # List of local names (variables, funcs, classes, modules).
<list> = dir() # Local names of variables, functions, classes and modules.
<dict> = vars() # Dict of local names and their objects. Also locals().
<dict> = globals() # Dict of global names and their objects, e.g. __builtin__.
<div><h4id="discrepanciesbetweenglossarydefinitionsandabstractbaseclasses">Discrepancies between glossary definitions and abstract base classes:</h4><ul>
<li><strong>Python's glossary defines iterable as any object with iter() or getitem() and sequence as any object with getitem() and len(). It does not define collection.</strong></li>
<li><strong>Passing ABC Iterable to isinstance() or issubclass() checks whether object/class has method iter(), while ABC Collection checks for iter(), contains() and len().</strong></li>
<li><strong>Python's glossary defines iterable as any object with special methods iter() and/or getitem() and sequence as any object with getitem() and len(). It doesn't define collection.</strong></li>
<li><strong>Passing ABC Iterable to isinstance() or issubclass() only checks whether object/class has special method iter(), while ABC Collection checks for iter(), contains() and len().</strong></li>
<div><h2id="deque"><ahref="#deque"name="deque">#</a>Deque</h2><p><strong>List with efficient appends and pops from either side. Pronounced "deck".</strong></p><pre><codeclass="python language-python hljs"><spanclass="hljs-keyword">from</span> collections <spanclass="hljs-keyword">import</span> deque
<div><h2id="deque"><ahref="#deque"name="deque">#</a>Deque</h2><p><strong>List with efficient appends and pops from either side.</strong></p><pre><codeclass="python language-python hljs"><spanclass="hljs-keyword">from</span> collections <spanclass="hljs-keyword">import</span> deque
</code></pre></div>
@ -1826,7 +1826,7 @@ CRITICAL:my_module:Running out of disk space.
2023-02-07 23:21:01,430 CRITICAL:my_module:Running out of disk space.
</code></pre></div>
<div><h2id="introspection"><ahref="#introspection"name="introspection">#</a>Introspection</h2><pre><codeclass="python language-python hljs"><list> = dir() <spanclass="hljs-comment"># List of local names (variables, funcs, classes, modules).</span>
<div><h2id="introspection"><ahref="#introspection"name="introspection">#</a>Introspection</h2><pre><codeclass="python language-python hljs"><list> = dir() <spanclass="hljs-comment"># Local names of variables, functions, classes and modules.</span>
<dict> = vars() <spanclass="hljs-comment"># Dict of local names and their objects. Also locals().</span>
<dict> = globals() <spanclass="hljs-comment"># Dict of global names and their objects, e.g. __builtin__.</span>
</code></pre></div>
@ -2924,7 +2924,7 @@ $ deactivate <span class="hljs-comment"># Deactivates the active