Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a3852ff

Browse files
committed
Add in a comment that was removed in 240adc564539 (requested by Victor Stinner)
1 parent 52b9fdf commit a3852ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/posixpath.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def ismount(path):
188188
# It doesn't exist -- so not a mount point. :-)
189189
return False
190190
else:
191+
# A symlink can never be a mount point
191192
if stat.S_ISLNK(s1.st_mode):
192193
return False
193194

0 commit comments

Comments
 (0)