Skip to content

Commit 6dd6ea0

Browse files
miss-islingtonMatth-MAA-Turner
authored
[3.12] Doc: Improve wording of os.path.commonpath() (GH-122627) (#122642)
Doc: Improve wording of ``os.path.commonpath()`` (GH-122627) (cherry picked from commit 7a5c410) Co-authored-by: Matth-M <[email protected]> Co-authored-by: Adam Turner <[email protected]>
1 parent 6b8a9a1 commit 6dd6ea0

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 sequence
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)