Skip to content

Commit

Permalink
bpo-41661: Document os.path.relpath() exception on Windows with diffe…
Browse files Browse the repository at this point in the history
…rent drives (pythonGH-25346)
  • Loading branch information
ZackerySpytz authored Apr 12, 2021
1 parent e126547 commit 67c0b3d
Showing 1 changed file with 2 additions and 1 deletion.
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 comments on commit 67c0b3d

Please sign in to comment.