summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorbertrand <bertrand.l3f@gmail.com>2016-01-30 21:00:55 -0500
committerbertrand <bertrand.l3f@gmail.com>2016-01-30 21:00:55 -0500
commit32ae04a43ccd7a3413deb1711796280f8fa69ba0 (patch)
tree066b56a473a67c563a31884c7dff7c4952d7bc4b /numpy/core/fromnumeric.py
parent9cfdb218b16cba97800fc2ad0f37e1af780ab664 (diff)
downloadnumpy-32ae04a43ccd7a3413deb1711796280f8fa69ba0.tar.gz
BUG: mode kwargs passed as unicode to np.pad raises an exception
isinstance(mode, str) is False in python2.7 when mode is of unicode type, and mode is then mistakenly assumed to be a callable. See #7112
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions