File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ the :mod:`glob` module.)
8787.. function :: commonpath(paths)
8888
8989 Return the longest common sub-path of each pathname in the sequence
90- *paths *. Raise ValueError if *paths * contains both absolute and relative
90+ *paths *. Raise :exc: ` ValueError ` if *paths * contains both absolute and relative
9191 pathnames, or if *paths * is empty. Unlike :func: `commonprefix `, this
9292 returns a valid path.
9393
@@ -324,9 +324,9 @@ the :mod:`glob` module.)
324324
325325.. function :: normcase(path)
326326
327- Normalize the case of a pathname. On Unix and Mac OS X, this returns the
328- path unchanged; on case-insensitive filesystems, it converts the path to
329- lowercase. On Windows, it also converts forward slashes to backward slashes .
327+ Normalize the case of a pathname. On Windows, convert all characters in the
328+ pathname to lowercase, and also convert forward slashes to backward slashes.
329+ On other operating systems, return the path unchanged .
330330 Raise a :exc: `TypeError ` if the type of *path * is not ``str `` or ``bytes `` (directly
331331 or indirectly through the :class: `os.PathLike ` interface).
332332
You can’t perform that action at this time.
0 commit comments