Skip to content

Commit 4f92265

Browse files
committed
Sortable
1 parent 65842dc commit 4f92265

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
@@ -934,7 +934,7 @@ class MyHashable:
934934
```
935935

936936
### Sortable
937-
* **With 'total_ordering' decorator you only need to provide one of lt(), gt(), le(), ge() magic methods.**
937+
* **With 'total_ordering' decorator you only need to provide one of lt(), gt(), le() or ge() magic methods.**
938938
```python
939939
from functools import total_ordering
940940

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ <h3 id="hashable">Hashable</h3>
833833
</code></pre>
834834
<h3 id="sortable">Sortable</h3>
835835
<ul>
836-
<li><strong>With 'total_ordering' decorator you only need to provide one of lt(), gt(), le(), ge() magic methods.</strong></li>
836+
<li><strong>With 'total_ordering' decorator you only need to provide one of lt(), gt(), le() or ge() magic methods.</strong></li>
837837
</ul>
838838
<pre><code class="python language-python hljs"><span class="hljs-keyword">from</span> functools <span class="hljs-keyword">import</span> total_ordering
839839

0 commit comments

Comments
 (0)