bpo-29707: Document that os.path.ismount() is not able to reliable de… · python/cpython@a4aade2
@@ -277,10 +277,11 @@ the :mod:`glob` module.)
277277278278 Return ``True`` if pathname *path* is a :dfn:`mount point`: a point in a
279279 file system where a different file system has been mounted. On POSIX, the
280- function checks whether *path*'s parent, :file:`path/..`, is on a different
281- device than *path*, or whether :file:`path/..` and *path* point to the same
280+ function checks whether *path*'s parent, :file:`{path}/..`, is on a different
281+ device than *path*, or whether :file:`{path}/..` and *path* point to the same
282282 i-node on the same device --- this should detect mount points for all Unix
283- and POSIX variants. On Windows, a drive letter root and a share UNC are
283+ and POSIX variants. It is not able to reliably detect bind mounts on the
284+ same filesystem. On Windows, a drive letter root and a share UNC are
284285 always mount points, and for any other path ``GetVolumePathName`` is called
285286 to see if it is different from the input path.
286287