Skip to content

Commit 2a5df33

Browse files
committed
Any number annotation
1 parent a627348 commit 2a5df33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

named_annotations.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,6 @@ def __recursively_format(self, collection: Iterable) -> list:
132132

133133

134134
# Pre-created instance without permanent formal creation of a new one.
135-
input_annotation: Final[InputAnnotationAnnotation] = InputAnnotationAnnotation()
135+
input_annotation: Final[InputAnnotationAnnotation] = InputAnnotationAnnotation()
136+
137+
number: Final = int | float | complex

0 commit comments

Comments
 (0)