diff --git a/README.md b/README.md index c79e428..f87bc0e 100644 --- a/README.md +++ b/README.md @@ -1105,7 +1105,7 @@ class MyHashable: ``` ### Sortable -* **With 'total_ordering' decorator you only need to provide eq() and one of lt(), gt(), le() or ge() special methods.** +* **With total_ordering decorator you only need to provide eq() and one of lt(), gt(), le() or ge() special methods.** ```python from functools import total_ordering diff --git a/index.html b/index.html index b98bfbc..f184219 100644 --- a/index.html +++ b/index.html @@ -1045,7 +1045,7 @@ Z = dataclasses.make_dataclass('Z', [

Sortable

from functools import total_ordering
 
 @total_ordering