From 4f9226592aee15d140617de883673489e69274e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 16 Apr 2019 11:36:59 +0200 Subject: [PATCH] Sortable --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5438d18..d95b369 100644 --- a/README.md +++ b/README.md @@ -934,7 +934,7 @@ class MyHashable: ``` ### Sortable -* **With 'total_ordering' decorator you only need to provide one of lt(), gt(), le(), ge() magic methods.** +* **With 'total_ordering' decorator you only need to provide one of lt(), gt(), le() or ge() magic methods.** ```python from functools import total_ordering diff --git a/index.html b/index.html index cc10afc..620688c 100644 --- a/index.html +++ b/index.html @@ -833,7 +833,7 @@ creature = Creature(Point(0, Sortable
from functools import total_ordering