Skip to content

Commit b2dca8e

Browse files
committed
đź’„rearrange protocols in Array
Signed-off-by: nstarman <[email protected]>
1 parent bacf0f9 commit b2dca8e

File tree

3 files changed

+334
-334
lines changed

3 files changed

+334
-334
lines changed

‎src/array_api_typing/_array.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ def dtype(self, /) -> DTypeT_co:
6868

6969

7070
class Array(
71-
HasArrayNamespace[NamespaceT_co],
7271
# ------ Attributes -------
7372
HasDType[DTypeT_co],
73+
# ------- Methods ---------
74+
HasArrayNamespace[NamespaceT_co],
7475
# -------------------------
7576
Protocol[DTypeT_co, NamespaceT_co],
7677
):

‎src/array_api_typing/_namespace.py

Whitespace-only changes.

0 commit comments

Comments
 (0)