diff options
author | Tyler Reddy <tyler.je.reddy@gmail.com> | 2018-12-04 12:17:59 -0800 |
---|---|---|
committer | Tyler Reddy <tyler.je.reddy@gmail.com> | 2018-12-14 10:14:05 -0800 |
commit | 19784177a61de75927a4934fd4cdd91afbb5b35c (patch) | |
tree | cf9f88bf968e48d0eebd2cd523cefd2bd4c2fd51 /numpy/core/defchararray.py | |
parent | 250861059b106371cb232456eeccd6d9e97d8f00 (diff) | |
download | numpy-19784177a61de75927a4934fd4cdd91afbb5b35c.tar.gz |
MAINT: address several reviewer comments
Diffstat (limited to 'numpy/core/defchararray.py')
-rw-r--r-- | numpy/core/defchararray.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py index cdb8fe6bc..eeba5da8f 100644 --- a/numpy/core/defchararray.py +++ b/numpy/core/defchararray.py @@ -1090,7 +1090,7 @@ def lstrip(a, chars=None): >>> np.char.lstrip(c, 'A') # leaves c unchanged array(['aAaAaA', ' aA ', 'abBABba'], dtype='<U7') >>> (np.char.lstrip(c, ' ') == np.char.lstrip(c, '')).all() - ... # XXX: is this a regression? this line now returns False + ... # This used to return True ... # np.char.lstrip(c,'') does not modify c at all. False >>> (np.char.lstrip(c, ' ') == np.char.lstrip(c, None)).all() |