We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
os.path.commonpath()
1 parent efcd65c commit 7a5c410Copy full SHA for 7a5c410
Doc/library/os.path.rst
@@ -81,7 +81,7 @@ the :mod:`glob` module.)
81
82
Return the longest common sub-path of each pathname in the iterable
83
*paths*. Raise :exc:`ValueError` if *paths* contain both absolute
84
- and relative pathnames, the *paths* are on the different drives or
+ and relative pathnames, if *paths* are on different drives, or
85
if *paths* is empty. Unlike :func:`commonprefix`, this returns a
86
valid path.
87
0 commit comments