You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
404 B
13 lines
404 B
from typing import Any, TypedDict
|
|
|
|
from numpy import generic, signedinteger, unsignedinteger, floating, complexfloating
|
|
|
|
class _SCTypes(TypedDict):
|
|
int: list[type[signedinteger[Any]]]
|
|
uint: list[type[unsignedinteger[Any]]]
|
|
float: list[type[floating[Any]]]
|
|
complex: list[type[complexfloating[Any, Any]]]
|
|
others: list[type]
|
|
|
|
sctypeDict: dict[int | str, type[generic]]
|
|
sctypes: _SCTypes
|
|
|