On Mon, Apr 25, 2022 at 03:38:21PM -, aanonyme.perso...@hotmail.fr wrote:
> Typically, when subclassing a NamedTuple type, you often don't want
> the <, >, <=, >=, + or * operators to work, so in that case you would
> want for the related methods to return NotImplemented.
When I have
On Tue, 26 Apr 2022 at 09:00, wrote:
>
> This is useful in the context of reducing the available methods and operator
> overloading, when subclassing a type.
> Typically, when subclassing a NamedTuple type, you often don't want the <, >,
> <=, >=, + or * operators to work, so in that case you