8000 [3.8] bpo-41661: Document os.path.relpath() exception on Windows with different drives (GH-25346) by miss-islington · Pull Request #25367 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.8] bpo-41661: Document os.path.relpath() exception on Windows with different drives (GH-25346) #25367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Doc/library/os.path.rst
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ the :mod:`glob` module.)
Return a relative filepath to *path* either from the current directory or
from an optional *start* directory. This is a path computation: the
filesystem is not accessed to confirm the existence or nature of *path* or
*start*.
*start*. On Windows, :exc:`ValueError` is raised when *path* and *start*
are on different drives.

*start* defaults to :attr:`os.curdir`.

Expand Down
0