Annotation Type Hints#
colour.hints
alias of |
|
ndarray(shape, dtype=float, buffer=None, offset=0, |
|
alias of |
|
|
Special type indicating an unconstrained type. |
Deprecated alias to collections.abc.Callable. |
|
A generic version of dict. |
|
|
|
|
|
A generic version of list. |
|
Special typing form to define literal types (a.k.a. |
|
|
A Mapping is a generic container for associating key/value pairs. |
|
NewType creates simple unique types with almost zero runtime overhead. |
Optional[X] is equivalent to Union[X, None]. |
|
|
Base class for protocol classes. |
|
All the operations on a read-only sequence. |
|
An ABC with one abstract method __index__. |
bool(x) -> bool |
|
|
Typed version of the return of open() in text mode. |
Deprecated alias to builtins.tuple. |
|
Deprecated alias to builtins.type. |
|
|
Type variable. |
|
A simple typed namespace. |
Union type; Union[X, Y] means either X or Y. |
|
|
Cast a value to a type. |
|
Decorator for overloaded functions/methods. |
|
Mark a protocol class as a runtime protocol. |
Used to spell the type of "self" in classes. |
|
NewType creates simple unique types with almost zero runtime overhead. |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
alias of |
|
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, |
|
|
|
|
|
|
|
alias of |