summaryrefslogtreecommitdiff
path: root/numpy/lib/arraypad.py
diff options
context:
space:
mode:
authorRonan Lamy <ronan.lamy@gmail.com>2020-12-24 18:23:46 +0100
committerRonan Lamy <ronan.lamy@gmail.com>2020-12-24 18:23:46 +0100
commit6c65d01705dffb2b285531813dc40cbc71799d8d (patch)
treee1d1ecbf220daf6b38876a08931806f7b5f83039 /numpy/lib/arraypad.py
parent2e5502ecaab235d9a1b5e4ae341a86714f981355 (diff)
downloadnumpy-6c65d01705dffb2b285531813dc40cbc71799d8d.tar.gz
MAINT: Remove obsolete workaround to set ndarray.__hash__ = None
In Python 3, a type that sets tp_richcompare but leaves tp_hash null is always unhashable. In Python 2, such types used to inherit tp_hash from their bases.
Diffstat (limited to 'numpy/lib/arraypad.py')
0 files changed, 0 insertions, 0 deletions