summaryrefslogtreecommitdiff
path: root/Lib/posixpath.py
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2013-07-22 19:05:48 -0500
committerBrian Curtin <brian@python.org>2013-07-22 19:05:48 -0500
commita3852ff33a7b05b3ff47a8e9572aa2d7cc2a32b3 (patch)
tree3fc5a0edb6a5f2fbc77b80271bcd9561569d3765 /Lib/posixpath.py
parent52b9fdfbc2265c996b9848c8c3eae637376afa7c (diff)
downloadcpython-git-a3852ff33a7b05b3ff47a8e9572aa2d7cc2a32b3.tar.gz
Add in a comment that was removed in 240adc564539 (requested by Victor Stinner)
Diffstat (limited to 'Lib/posixpath.py')
-rw-r--r--Lib/posixpath.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py
index 7362483502..492c415aa5 100644
--- a/Lib/posixpath.py
+++ b/Lib/posixpath.py
@@ -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