diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-11-04 15:07:42 -0500 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2021-11-04 15:10:10 -0500 |
commit | 6f6802b685b254a0c244ec24244b0a61f4a3c91c (patch) | |
tree | a2a5846bf27c23b728ae7516629d8ca91961d2d2 /numpy/array_api/_creation_functions.py | |
parent | 3cb20a03f5337fe5f038f1593508458849612ba2 (diff) | |
download | numpy-6f6802b685b254a0c244ec24244b0a61f4a3c91c.tar.gz |
ENH: Check for `__repr__` and `__str__` implementation
This adds a check whether `__repr__` or `__str__` appear to be
inherited. If they are, it currently leads to cryptic errors adding
an unnecessary difficulty to creating a custom user DType.
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions