diff options
author | DWesl <22566757+DWesl@users.noreply.github.com> | 2021-07-22 16:16:04 -0400 |
---|---|---|
committer | DWesl <22566757+DWesl@users.noreply.github.com> | 2021-07-22 16:16:04 -0400 |
commit | c804775b973b7de803eb279c1dcf5c15f1b74ad3 (patch) | |
tree | 72dc4b3b6b7fc10a48860c481b04efb2d879e389 /numpy/distutils/misc_util.py | |
parent | eee1297c7a442f996b8b28613dd5c1c7d58b9759 (diff) | |
download | numpy-c804775b973b7de803eb279c1dcf5c15f1b74ad3.tar.gz |
STY: Wrap long lines in cyg2win32 docstring.
Diffstat (limited to 'numpy/distutils/misc_util.py')
-rw-r--r-- | numpy/distutils/misc_util.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index a693cb766..69393a151 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -379,12 +379,14 @@ def blue_text(s): def cyg2win32(path: str) -> str: """Convert a path from Cygwin-native to Windows-native. - Uses the cygpath utility (part of the Base install) to do the actual - conversion. Falls back to returning the original path if this fails. - - Handles the default ``/cygdrive`` mount prefix as well as the ``/proc/cygdrive`` - portable prefix, custom cygdrive prefixes such as ``/`` or ``/mnt``, and - absolute paths such as ``/usr/src/`` or ``/home/username`` + Uses the cygpath utility (part of the Base install) to do the + actual conversion. Falls back to returning the original path if + this fails. + + Handles the default ``/cygdrive`` mount prefix as well as the + ``/proc/cygdrive`` portable prefix, custom cygdrive prefixes such + as ``/`` or ``/mnt``, and absolute paths such as ``/usr/src/`` or + ``/home/username`` Parameters ---------- |