diff options
author | Josh Wilson <person142@users.noreply.github.com> | 2020-06-16 21:32:29 -0700 |
---|---|---|
committer | Josh Wilson <person142@users.noreply.github.com> | 2020-06-16 21:32:29 -0700 |
commit | d985e8ca2fca154d3770c842a2da1ba6dc3aaf1c (patch) | |
tree | 54cbb5b9f3951881110c1b665855ef6f377e90bc /numpy/typing/_array_like.py | |
parent | 347a368cd937b73c74ec8f684dcbaacb233ec84a (diff) | |
download | numpy-d985e8ca2fca154d3770c842a2da1ba6dc3aaf1c.tar.gz |
DOC: add reference to Python issue about buffer protocols
Diffstat (limited to 'numpy/typing/_array_like.py')
-rw-r--r-- | numpy/typing/_array_like.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/numpy/typing/_array_like.py b/numpy/typing/_array_like.py index a4c526778..76c0c839c 100644 --- a/numpy/typing/_array_like.py +++ b/numpy/typing/_array_like.py @@ -26,7 +26,9 @@ else: # TODO: support buffer protocols once # -# https://github.com/python/typing/issues/593 +# https://bugs.python.org/issue27501 +# +# is resolved. See also the mypy issue: # -# is resolved. +# https://github.com/python/typing/issues/593 ArrayLike = Union[bool, int, float, complex, _SupportsArray, Sequence] |