mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 22:56:55 +08:00
Style: prefer type[Foo | Bar] over type[Foo] | type[Bar] (#10039)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user