Skip to content

Commit 7a5c410

Browse files
Matth-MAA-Turner
andauthored
Doc: Improve wording of os.path.commonpath() (python#122627)
Co-authored-by: Adam Turner <[email protected]>
1 parent efcd65c commit 7a5c410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/os.path.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ the :mod:`glob` module.)
8181

8282
Return the longest common sub-path of each pathname in the iterable
8383
*paths*. Raise :exc:`ValueError` if *paths* contain both absolute
84-
and relative pathnames, the *paths* are on the different drives or
84+
and relative pathnames, if *paths* are on different drives, or
8585
if *paths* is empty. Unlike :func:`commonprefix`, this returns a
8686
valid path.
8787

0 commit comments

Comments
 (0)