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

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


http://hg.python.org/cpython/rev/f463387d2434
changeset: 91337:f463387d2434
branch: 2.7
parent: 91314:9778d37c2d18
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
@@ -185,7 +185,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 によって変換されたページ (->オリジナル) /