[Python-checkins] cpython (3.4): clarify that islink only really works if python knows about symlinks (closes

benjamin.peterson python-checkins at python.org
Mon Jun 23 03:00:15 CEST 2014


http://hg.python.org/cpython/rev/db7887f3e6a2
changeset: 91338:db7887f3e6a2
branch: 3.4
parent: 91335:b32174cad588
user: Benjamin Peterson <benjamin at python.org>
date: Sun Jun 22 17:59:35 2014 -0700
summary:
 clarify that islink only really works if python knows about symlinks (closes #13143)
Patch from Yayoi Ukai.
files:
 Doc/library/os.path.rst | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -188,7 +188,7 @@
 .. function:: islink(path)
 
 Return ``True`` if *path* refers to a directory entry that is a symbolic link.
- Always ``False`` if symbolic links are not supported.
+ Always ``False`` if symbolic links are not supported by the python runtime.
 
 
 .. function:: ismount(path)
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /