Skip to content

Commit c804775

Browse files
committed
STY: Wrap long lines in cyg2win32 docstring.
1 parent eee1297 commit c804775

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

numpy/distutils/misc_util.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,14 @@ def blue_text(s):
379379
def cyg2win32(path: str) -> str:
380380
"""Convert a path from Cygwin-native to Windows-native.
381381
382-
Uses the cygpath utility (part of the Base install) to do the actual
383-
conversion. Falls back to returning the original path if this fails.
384-
385-
Handles the default ``/cygdrive`` mount prefix as well as the ``/proc/cygdrive``
386-
portable prefix, custom cygdrive prefixes such as ``/`` or ``/mnt``, and
387-
absolute paths such as ``/usr/src/`` or ``/home/username``
382+
Uses the cygpath utility (part of the Base install) to do the
383+
actual conversion. Falls back to returning the original path if
384+
this fails.
385+
386+
Handles the default ``/cygdrive`` mount prefix as well as the
387+
``/proc/cygdrive`` portable prefix, custom cygdrive prefixes such
388+
as ``/`` or ``/mnt``, and absolute paths such as ``/usr/src/`` or
389+
``/home/username``
388390
389391
Parameters
390392
----------

0 commit comments

Comments
 (0)