mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
bpo-41661: Document os.path.relpath() exception on Windows with different drives (GH-25346)
This commit is contained in:
parent
e126547c07
commit
67c0b3d89c
1 changed files with 2 additions and 1 deletions
|
@ -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`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue