https://github.com/python/cpython/commit/4dfae05f88240cca6497cfcedcaf0efc6c5bde85 commit: 4dfae05f88240cca6497cfcedcaf0efc6c5bde85 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com> date: 2024-08-03T14:25:26+01:00 summary:
[3.13] Doc: Improve wording of ``os.path.commonpath()`` (GH-122627) (#122641) Doc: Improve wording of ``os.path.commonpath()`` (GH-122627) (cherry picked from commit 7a5c4103b094aaf1b65af6de65795d172cfe8fe0) Co-authored-by: Matth-M <93771840+matt...@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+aa-tur...@users.noreply.github.com> files: M Doc/library/os.path.rst diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst index ac24bf05c289b6..ecbbc1d7605f9f 100644 --- a/Doc/library/os.path.rst +++ b/Doc/library/os.path.rst @@ -81,7 +81,7 @@ the :mod:`glob` module.) Return the longest common sub-path of each pathname in the iterable *paths*. Raise :exc:`ValueError` if *paths* contain both absolute - and relative pathnames, the *paths* are on the different drives or + and relative pathnames, if *paths* are on different drives, or if *paths* is empty. Unlike :func:`commonprefix`, this returns a valid path. _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com