From: Brian Curtin Date: Tue, 23 Jul 2013 00:05:48 +0000 (-0500) Subject: Add in a comment that was removed in 240adc564539 (requested by Victor Stinner) X-Git-Tag: v3.4.0a1~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3852ff33a7b05b3ff47a8e9572aa2d7cc2a32b3;p=python Add in a comment that was removed in 240adc564539 (requested by Victor Stinner) --- 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