Skip to content

Commit 0ebd42f

Browse files
committed
Oxford comma
1 parent 0e0b5f5 commit 0ebd42f

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
@@ -1255,7 +1255,7 @@ class MySequence:
12551255

12561256
### Collections.abc.Sequence
12571257
* **It's a richer interface than the basic sequence.**
1258-
* **Extending it generates iter(), contains(), reversed(), index(), and count().**
1258+
* **Extending it generates iter(), contains(), reversed(), index() and count().**
12591259
* **Unlike `'abc.Iterable'` and `'abc.Collection'`, it is not a duck type. That is why `'issubclass(MySequence, abc.Sequence)'` would return False even if MySequence had all the methods defined.**
12601260
```python
12611261
from collections import abc

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@
11921192

11931193
<div><h3 id="collectionsabcsequence">Collections.abc.Sequence</h3><ul>
11941194
<li><strong>It's a richer interface than the basic sequence.</strong></li>
1195-
<li><strong>Extending it generates iter(), contains(), reversed(), index(), and count().</strong></li>
1195+
<li><strong>Extending it generates iter(), contains(), reversed(), index() and count().</strong></li>
11961196
<li><strong>Unlike <code class="python hljs"><span class="hljs-string">'abc.Iterable'</span></code> and <code class="python hljs"><span class="hljs-string">'abc.Collection'</span></code>, it is not a duck type. That is why <code class="python hljs"><span class="hljs-string">'issubclass(MySequence, abc.Sequence)'</span></code> would return False even if MySequence had all the methods defined.</strong></li>
11971197
</ul><pre><code class="python language-python hljs"><span class="hljs-keyword">from</span> collections <span class="hljs-keyword">import</span> abc
11981198

0 commit comments

Comments
 (0)