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. |
|
A generic version of 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 |
|
|
|
|
|
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. |
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. |
|
|
|
|
|
|
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. |
A generic version of set. |
|
|
An ABC with one abstract method __index__. |
|
Typed version of the return of open() in text mode. |
Deprecated alias to builtins.tuple. |
|
Deprecated alias to builtins.type. |
|
|
A simple typed namespace. |
|
Type variable. |