Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
98681d4a
Commit
98681d4a
authored
Feb 22, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reflow paragraph.
parent
928924d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Doc/library/os.path.rst
Doc/library/os.path.rst
+8
-8
No files found.
Doc/library/os.path.rst
View file @
98681d4a
...
@@ -193,14 +193,14 @@ the :mod:`glob` module.)
...
@@ -193,14 +193,14 @@ the :mod:`glob` module.)
.. function:: ismount(path)
.. function:: ismount(path)
Return ``True`` if pathname *path* is a :dfn:`mount point`: a point in a
file
Return ``True`` if pathname *path* is a :dfn:`mount point`: a point in a
system where a different file system has been mounted. On POSIX, the function checks
file system where a different file system has been mounted. On POSIX, the
whether *path*'s parent, :file:`path/..`, is on a different device than *path*,
function checks whether *path*'s parent, :file:`path/..`, is on a different
or whether :file:`path/..` and *path* point to the same i-node on
the same
device than *path*, or whether :file:`path/..` and *path* point to
the same
device --- this should detect mount points for all Unix and POSIX variants.
i-node on the same device --- this should detect mount points for all Unix
On Windows, a drive letter root and a share UNC are always mount
and POSIX variants. On Windows, a drive letter root and a share UNC are
points, and for any other path ``GetVolumePathName`` is called to see if it
always mount points, and for any other path ``GetVolumePathName`` is called
is different from the input path.
to see if it
is different from the input path.
.. versionadded:: 3.4
.. versionadded:: 3.4
Support for detecting non-root mount points on Windows.
Support for detecting non-root mount points on Windows.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment