Giampaolo Rodola' schrieb: > os.path.islink documentation says: > > "Return True if path refers to a directory entry that is a symbolic > link. Always False if symbolic links are not supported." > > It's not clear to me why it is mentioned the DIRECTORY term. > Shouldn't os.path.islink be used to just check if the *path* passed as > argument is a symlink? > In such case I would change it in: > > "Return True if path refers to a symbolic link"
But it does say so. It talks about entries in a directory being symbolic links. Not the entries being symbolic links to directories. Diez -- http://mail.python.org/mailman/listinfo/python-list