summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorDWesl <22566757+DWesl@users.noreply.github.com>2021-02-01 12:25:59 -0500
committerDWesl <22566757+DWesl@users.noreply.github.com>2021-07-22 16:04:07 -0400
commiteee1297c7a442f996b8b28613dd5c1c7d58b9759 (patch)
treec0cec381db6e27616dbaeb3ab96f581da5b26b63 /numpy/array_api/_elementwise_functions.py
parentd61fdc7d4c33d7f2104afde7e32d56af59f9d4f9 (diff)
downloadnumpy-eee1297c7a442f996b8b28613dd5c1c7d58b9759.tar.gz
BLD: Change `cyg2win32` to use the `cygpath` utility.
The old function only handled the default `/cygdrive` prefix. This can be customized to different values: `/` and `/mnt` are both common. `/proc/cygdrive` does the same thing, regardless of user customization. `cygpath` handles all of these. There's also a C function if you'd prefer to avoid the `fork()` call, which tends to be slow on Cygwin. Edit: Fix the cyg2win32 function to have correct types. It returned bytes earlier; this should return a string. Edit: Fix docsrting to follow numpydoc. BLD,DOC: Expand documentation for cyg2win32 Fix a misleading statement, and expand on the things `cygpath` handles that can otherwise be tricky to get right.
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions