Typing
OptionalPredicate = Optional[Predicate[T]]
module-attribute
Sum
Bases: Protocol
Represents types for which adding self: S
to other: S
returns S
.
Source code in iters/typing.py
20 21 22 23 24 25 26 |
|
Product
Bases: Protocol
Represents types for which multiplying self: P
with other: P
returns P
.
Source code in iters/typing.py
29 30 31 32 33 34 35 |
|