Skip to content

Commit d82fab7

Browse files
committed
Iterable duck types
1 parent 137a171 commit d82fab7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ class MyAbcSequence(collections.abc.Sequence):
12421242
return self.a[i]
12431243
```
12441244

1245-
#### Table of the required and available methods:
1245+
#### Table of required and available special methods:
12461246
```text
12471247
+------------+----------+------------+----------+--------------+
12481248
| | Iterable | Collection | Sequence | abc.Sequence |

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ <h3 id="collectionsabcsequence">Collections.abc.Sequence</h3>
11541154
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">__getitem__</span><span class="hljs-params">(self, i)</span>:</span>
11551155
<span class="hljs-keyword">return</span> self.a[i]
11561156
</code></pre>
1157-
<h4 id="tableoftherequiredandavailablemethods">Table of the required and available methods:</h4>
1157+
<h4 id="tableofrequiredandavailablespecialmethods">Table of required and available special methods:</h4>
11581158
<pre><code class="text language-text">┏━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━━━━━━━┓
11591159
┃ │ Iterable │ Collection │ Sequence │ abc.Sequence ┃
11601160
┠────────────┼──────────┼────────────┼──────────┼──────────────┨

0 commit comments

Comments
 (0)