diff --git a/README.md b/README.md index d95b369..19e5d28 100644 --- a/README.md +++ b/README.md @@ -872,7 +872,7 @@ class C(A, B): pass ``` ### Dataclass -**Decorator that automatically generates init(), repr() and eq() magic methods.** +**Decorator that automatically generates init(), repr() and eq() special methods.** ```python from dataclasses import dataclass, field @@ -934,7 +934,7 @@ class MyHashable: ``` ### Sortable -* **With 'total_ordering' decorator you only need to provide one of lt(), gt(), le() or ge() magic methods.** +* **With 'total_ordering' decorator you only need to provide one of lt(), gt(), le() or ge() special methods.** ```python from functools import total_ordering diff --git a/index.html b/index.html index 620688c..d88d1cc 100644 --- a/index.html +++ b/index.html @@ -777,7 +777,7 @@ creature = Creature(Point(0, class 'C'>, <class 'A'>, <class 'B'>, <class 'object'>]
Decorator that automatically generates init(), repr() and eq() magic methods.
+Decorator that automatically generates init(), repr() and eq() special methods.
from dataclasses import dataclass, field
@dataclass(order=False, frozen=False)
@@ -833,7 +833,7 @@ creature = Creature(Point(0, Sortable
-- With 'total_ordering' decorator you only need to provide one of lt(), gt(), le() or ge() magic methods.
+- With 'total_ordering' decorator you only need to provide one of lt(), gt(), le() or ge() special methods.
from functools import total_ordering