diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2023-01-18 21:38:03 +0100 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-01-18 22:00:01 +0100 |
commit | c7b12699f4fb377920142d034140d4d2324be867 (patch) | |
tree | c4302a5157e00df37e02b0d601e75de165f34f99 /numpy/array_api/_array_object.py | |
parent | b2badd70786145eb21cec02109b23e6520c6ffea (diff) | |
download | numpy-c7b12699f4fb377920142d034140d4d2324be867.tar.gz |
BUG: Impelement `ArrayFunctionDispatcher.__get__`
While functions should not normally need this, Python functions do
provide it (C functions do not, but we are a fatter object anyway).
By implementing `__get__` we also ensure that `inspect.isroutine()`
passes. And by that we ensure that Sphinx considers these a `py:function:`
role.
Closes gh-23032
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions