summaryrefslogtreecommitdiff
path: root/numpy/doc/structured_arrays.py
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2018-11-13 14:08:19 -0800
committerTyler Reddy <tyler.je.reddy@gmail.com>2018-11-13 14:08:19 -0800
commit470d53fc6bc8267fec7d7cf5c7116d5e7437d789 (patch)
tree6faea5a835ba9e4055a1fb83b6e3b72a4280401b /numpy/doc/structured_arrays.py
parent676d3d69fa37b019aa98dda036f703ee7101f00a (diff)
downloadnumpy-470d53fc6bc8267fec7d7cf5c7116d5e7437d789.tar.gz
BUG: improve DataSource __del__
* DataSource __del__ could raise an AttributeError if __init__ failed for any reason; __del__ now gracefully handles the case where __init__ fails, as happens in the internals of refguide_check when handling DataSource with an unexpected kwarg
Diffstat (limited to 'numpy/doc/structured_arrays.py')
0 files changed, 0 insertions, 0 deletions