Annotation Type Hints#
colour.hints
|
Special type indicating an unconstrained type. |
Deprecated alias to collections.abc.Callable. |
|
|
Cast a value to a type. |
Special type construct to mark class variables. |
|
Deprecated alias to dict. |
|
Runtime representation of an annotated type. |
|
Runtime representation of an annotated type. |
|
Runtime representation of an annotated type. |
|
Runtime representation of an annotated type. |
|
Runtime representation of an annotated type. |
|
Represent a PEP 604 union type |
|
Represent a PEP 604 union type |
|
Represent a PEP 604 union type |
|
Represent a PEP 604 union type |
|
Represent a PEP 604 union type |
|
|
|
|
|
Deprecated alias to list. |
|
Special typing form to define literal types (a.k.a. |
|
|
A Mapping is a generic container for associating key/value pairs. |
ndarray(shape, dtype=float, buffer=None, offset=0, |
|
ndarray(shape, dtype=float, buffer=None, offset=0, |
|
ndarray(shape, dtype=float, buffer=None, offset=0, |
|
ndarray(shape, dtype=float, buffer=None, offset=0, |
|
ndarray(shape, dtype=float, buffer=None, offset=0, |
|
ndarray(shape, dtype=float, buffer=None, offset=0, |
|
ndarray(shape, dtype=float, buffer=None, offset=0, |
|
|
NewType creates simple unique types with almost zero runtime overhead. |
Special type indicating functions that never return. |
|
|
Decorator for overloaded functions/methods. |
|
Abstract base class for implementing the file system path protocol. |
|
Base class for protocol classes. |
|
Define the surface of an Array API namespace used by Colour. |
|
Define the fast Fourier transform extension of an Array API namespace. |
|
Define the linear algebra extension of an Array API namespace. |
|
|
|
|
|
|
Runtime representation of an annotated type. |
|
Runtime representation of an annotated type. |
|
Runtime representation of an annotated type. |
|
Runtime representation of an annotated type. |
|
Runtime representation of an annotated type. |
|
Represent a PEP 604 union type |
|
NewType creates simple unique types with almost zero runtime overhead. |
|
|
Mark a protocol class as a runtime protocol. |
Used to spell the type of "self" in classes. |
|
|
All the operations on a read-only sequence. |
Deprecated alias to set. |
|
|
A protocol with one abstract method __index__. |
|
Typed approximation of the return of open() in text mode. |
Deprecated alias to builtins.tuple. |
|
Deprecated alias to builtins.type. |
|
|
A simple typed namespace. |
Type variable. |