summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2013-07-23 00:05:48 (GMT)
committerBrian Curtin <brian@python.org>2013-07-23 00:05:48 (GMT)
commita3852ff33a7b05b3ff47a8e9572aa2d7cc2a32b3 (patch)
tree3fc5a0edb6a5f2fbc77b80271bcd9561569d3765
parent52b9fdfbc2265c996b9848c8c3eae637376afa7c (diff)
downloadcpython-a3852ff33a7b05b3ff47a8e9572aa2d7cc2a32b3.zip
cpython-a3852ff33a7b05b3ff47a8e9572aa2d7cc2a32b3.tar.gz
cpython-a3852ff33a7b05b3ff47a8e9572aa2d7cc2a32b3.tar.bz2
Add in a comment that was removed in 240adc564539 (requested by Victor Stinner)
-rw-r--r--Lib/posixpath.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py
index 7362483..492c415 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