One exact value.
Attributes#
| Attribute | Type | Description |
|---|---|---|
literal | LiteralValue | |
tag | TypingLiteral['Literal'] = 'Literal' |
Functions#
__init__#
__init__(literal, *, annotations=None, checks=()) -> None| Parameter | Type | Description |
|---|---|---|
literal | LiteralValue | |
annotations | Annotations | None = None | |
checks | tuple[Check, ...] = () |