Style: prefer type[Foo | Bar] over type[Foo] | type[Bar] (#10039)

This commit is contained in:
Alex Waygood authored and GitHub committed 2023-04-13 11:34:53 +02:00
1 parent 084f555793
commit 2279886964
5 files changed
+45 -43

No files matched your search

+2 -2
View File
@@ -129,8 +129,8 @@ def Binary(data: ReadableBuffer) -> memoryview: ...
Decimal = decimal.Decimal
NUMBER: type[int] | type[float] | type[complex]
DATETIME: type[date] | type[time] | type[datetime]
NUMBER: type[int | float | complex]
DATETIME: type[date | time | datetime]
STRING = str
BINARY = memoryview
ROWID = int