8000 DOC: add note about supporting buffer protocols in `ArrayLike` · numpy/numpy@347a368 · GitHub
[go: up one dir, main page]

Skip to content

Commit 347a368

Browse files
committed
DOC: add note about supporting buffer protocols in ArrayLike
1 parent c63f233 commit 347a368

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

numpy/typing/_array_like.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,9 @@ def __array__(self, dtype: DtypeLike = ...) -> ndarray: ...
2424
else:
2525
_SupportsArray = Any
2626

27+
# TODO: support buffer protocols once
28+
#
29+
# https://github.com/python/typing/issues/593
30+
#
31+
# is resolved.
2732
ArrayLike = Union[bool, int, float, complex, _SupportsArray, Sequence]

0 commit comments

Comments
 (0)
0