Skip to content

Commit 6a28ef9

Browse files
NeilGirdharnstarman
andcommitted
Update src/array_api_typing/_namespace.py
Co-authored-by: Nathaniel Starkman <[email protected]> Signed-off-by: Neil Girdhar <[email protected]>
1 parent 74409a1 commit 6a28ef9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/array_api_typing/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
__all__ = [
44
"Array",
5+
"ArrayNamespace",
56
"DType",
67
"Device",
78
"HasArrayNamespace",
8-
"Namespace",
99
"__version__",
1010
"__version_tuple__",
1111
]
1212

1313
from ._array import Array
1414
from ._device import Device
1515
from ._dtype import DType
16-
from ._namespace import HasArrayNamespace, Namespace
16+
from ._namespace import ArrayNamespace, HasArrayNamespace
1717
from ._version import version as __version__, version_tuple as __version_tuple__

src/array_api_typing/_namespace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
A = TypeVar("A", bound=Array, default=Array) # PEP 696 default
1212

1313

14-
class Namespace(Protocol[A]):
14+
class ArrayNamespace(Protocol[A]):
1515
"""An Array API namespace."""
1616

1717
def asarray(

0 commit comments

Comments
 (0)