8000 Fix for Python < 3.12 · data-apis/array-api-typing@8ba2de5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ba2de5

Browse files
committed
Fix for Python < 3.12
1 parent 7a08a7b commit 8ba2de5

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)
0