From 18b776358c772d167d54780a795d9d356121ca3a Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 5 Jun 2023 19:01:32 -0600 Subject: [PATCH] Add missing dtype attribute to iinfo_object and finfo_object --- src/array_api_stubs/_2022_12/_types.py | 4 ++-- src/array_api_stubs/_draft/_types.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/array_api_stubs/_2022_12/_types.py b/src/array_api_stubs/_2022_12/_types.py index 4a60040d5..589606784 100644 --- a/src/array_api_stubs/_2022_12/_types.py +++ b/src/array_api_stubs/_2022_12/_types.py @@ -39,7 +39,7 @@ class finfo_object: max: float min: float smallest_normal: float - + dtype: dtype @dataclass class iinfo_object: @@ -47,7 +47,7 @@ class iinfo_object: bits: int max: int min: int - + dtype: dtype _T_co = TypeVar("_T_co", covariant=True) diff --git a/src/array_api_stubs/_draft/_types.py b/src/array_api_stubs/_draft/_types.py index 4a60040d5..589606784 100644 --- a/src/array_api_stubs/_draft/_types.py +++ b/src/array_api_stubs/_draft/_types.py @@ -39,7 +39,7 @@ class finfo_object: max: float min: float smallest_normal: float - + dtype: dtype @dataclass class iinfo_object: @@ -47,7 +47,7 @@ class iinfo_object: bits: int max: int min: int - + dtype: dtype _T_co = TypeVar("_T_co", covariant=True)