]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100783: fix os.path.join documentation (GH-100811)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 8 Jan 2023 09:22:53 +0000 (01:22 -0800)
committerGitHub <noreply@github.com>
Sun, 8 Jan 2023 09:22:53 +0000 (01:22 -0800)
commitfa8d396e100f9bfdc5125b02a612aee4574c9e3a
tree607d2be323661a2bbc3c1a6a16bc45438478bd83
parent89ea4f92bc6380ca052dba3f5f54292133db9b8e
gh-100783: fix os.path.join documentation (GH-100811)

- Use "drive", not "drive letter", because of UNC paths
- Previous components are not thrown away from relative drive letters
- Use "segment" instead of "component" for consistency with pathlib
- Other miscellaneous improvements
(cherry picked from commit 53455a319f3f2e5609fca2a313ea356fba318665)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Doc/library/os.path.rst