Skip to content

Commit 6e40c62

Browse files
committed
Add comment to ismount()
1 parent e49c158 commit 6e40c62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/ntpath.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ def ismount(path):
285285
path = abspath(path)
286286
drive, root, rest = splitroot(path)
287287
if drive and drive[0] in seps:
288+
# Share path is a mount point if it conforms to UNC.
288289
return not rest
289290
if root and not rest:
290291
# Drive root is a mount point if it exists.

0 commit comments

Comments
 (0)