Browse Source

Iterable duck types

pull/36/head
Jure Šorn 5 years ago
parent
commit
d82fab7a32
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -1242,7 +1242,7 @@ class MyAbcSequence(collections.abc.Sequence):
return self.a[i]
```
#### Table of the required and available methods:
#### Table of required and available special methods:
```text
+------------+----------+------------+----------+--------------+
| | Iterable | Collection | Sequence | abc.Sequence |

2
index.html

@ -1154,7 +1154,7 @@ con = sqlite3.connect(<span class="hljs-string">'&lt;path&gt;'</span>); <span c
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">__getitem__</span><span class="hljs-params">(self, i)</span>:</span>
<span class="hljs-keyword">return</span> self.a[i]
</code></pre>
<h4 id="tableoftherequiredandavailablemethods">Table of the required and available methods:</h4>
<h4 id="tableofrequiredandavailablespecialmethods">Table of required and available special methods:</h4>
<pre><code class="text language-text">┏━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━━━━━━━┓
┃ │ Iterable │ Collection │ Sequence │ abc.Sequence ┃
┠────────────┼──────────┼────────────┼──────────┼──────────────┨

Loading…
Cancel
Save