NOJIRA final touches

This commit is contained in:
2021-09-15 17:14:34 +02:00
parent 5a9a6658ab
commit 8c6078d625
5 changed files with 24 additions and 13 deletions

View File

@@ -2,9 +2,13 @@ from typing import List
class Order:
def __init__(self, name: str, items: List[str]):
def __init__(self,
name: str,
items: List[str]):
self.name = name
self.items = items
def __lt__(self: "Order", other: "Order") -> bool:
def __lt__(self: "Order",
other: "Order"
) -> bool:
return self.name < other.name