mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Add in a comment that was removed in 240adc564539 (requested by Victor Stinner)
This commit is contained in:
parent
52b9fdfbc2
commit
a3852ff33a
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ def ismount(path):
|
||||||
# It doesn't exist -- so not a mount point. :-)
|
# It doesn't exist -- so not a mount point. :-)
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
|
# A symlink can never be a mount point
|
||||||
if stat.S_ISLNK(s1.st_mode):
|
if stat.S_ISLNK(s1.st_mode):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue