diff options
author | Tyler Reddy <tyler.je.reddy@gmail.com> | 2020-12-26 16:30:23 -0700 |
---|---|---|
committer | Tyler Reddy <tyler.je.reddy@gmail.com> | 2020-12-26 16:30:23 -0700 |
commit | cb7b26d4e18583d7b010425264b9a9a379554606 (patch) | |
tree | e49d269c75fbf479f1e300b1b99470d9baa6d3a9 /numpy/lib/arraypad.py | |
parent | ce82028409c1147a6df62d8f7437e0a9262ee2b7 (diff) | |
download | numpy-cb7b26d4e18583d7b010425264b9a9a379554606.tar.gz |
MAINT: exprtype regex simplify
* `determineexprtype_re_1` was modified to remove extraneous
character class markers around a single `,`
* a similar change was applied for the word metacharacter
in `determineexprtype_re_2` and `determineexprtype_re_3`
* the third character class in `determineexprtype_re_3` was
simplified to remove an escape sequence--by placing the
`-` at the start of the character class its metacharacter
status can be avoided
Diffstat (limited to 'numpy/lib/arraypad.py')
0 files changed, 0 insertions, 0 deletions