diff options
| -rw-r--r-- | numpy/__init__.pyi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi index 6def46d2c..6ecb3d2da 100644 --- a/numpy/__init__.pyi +++ b/numpy/__init__.pyi @@ -676,6 +676,7 @@ _NdArraySubClass = TypeVar("_NdArraySubClass", bound=ndarray) _DTypeScalar_co = TypeVar("_DTypeScalar_co", covariant=True, bound=generic) _ByteOrder = L["S", "<", ">", "=", "|", "L", "B", "N", "I"] +@final class dtype(Generic[_DTypeScalar_co]): names: None | tuple[builtins.str, ...] # Overload for subclass of generic |
