Skip to content

Commit 64fe1af

Browse files
committed
Fix for Python < 3.12
1 parent f2c3fc8 commit 64fe1af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
# type-checking. The type variable depends on Array, so we create a dummy type
1212
# variable without the same bounds and default for this case. In Python 3.13, this
1313
# is no longer be necessary.
14-
from collections.abc import Buffer
14+
from typing_extensions import Buffer
1515

1616
from ._array import Array
1717
from ._misc_objects import Device, DType

0 commit comments

Comments
 (0)