mirror of
https://github.com/python/cpython
synced 2024-09-06 05:43:29 +00:00
Add in a comment that was removed in 240adc564539 (requested by Victor Stinner)
This commit is contained in:
parent
52b9fdfbc2
commit
a3852ff33a
|
@ -188,6 +188,7 @@ def ismount(path):
|
|||
# It doesn't exist -- so not a mount point. :-)
|
||||
return False
|
||||
else:
|
||||
# A symlink can never be a mount point
|
||||
if stat.S_ISLNK(s1.st_mode):
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in a new issue