@@ -76,7 +76,7 @@ def define(
76
76
sensible ``__ne__`` by default, so it *should* be enough to only
77
77
implement ``__eq__`` in most cases).
78
78
79
- Passing True or False` to *init*, *repr*, *eq*, *cmp*, or *hash*
79
+ Passing True or False` to *init*, *repr*, *eq*, or *hash*
80
80
overrides whatever *auto_detect* would determine.
81
81
82
82
auto_exc (bool):
@@ -151,10 +151,6 @@ def define(
151
151
152
152
.. seealso:: `comparison`
153
153
154
- cmp (bool | None):
155
- Setting *cmp* is equivalent to setting *eq* and *order* to the same
156
- value. Must not be mixed with *eq* or *order*.
157
-
158
154
unsafe_hash (bool | None):
159
155
If None (default), the ``__hash__`` method is generated according
160
156
how *eq* and *frozen* are set.
@@ -504,12 +500,6 @@ def field(
504
500
505
501
.. seealso:: `comparison`
506
502
507
- cmp(bool | ~typing.Callable):
508
- Setting *cmp* is equivalent to setting *eq* and *order* to the same
509
- value. Must not be mixed with *eq* or *order*.
510
-
511
- .. seealso:: `comparison`
512
-
513
503
hash (bool | None):
514
504
Include this attribute in the generated ``__hash__`` method. If
515
505
None (default), mirror *eq*'s value. This is the correct behavior
0 commit comments