From d6dd49ff7fd6308127474064bccec03b3442f9b5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 15 Feb 2013 14:34:36 -0800 Subject: [PATCH] abssymlink: clarify docs, bug #225821 --- pym/portage/__init__.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index bc14bae38..f326ecb07 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -464,7 +464,15 @@ def getcwd(): getcwd() def abssymlink(symlink, target=None): - "This reads symlinks, resolving the relative symlinks, and returning the absolute." + """ + This reads symlinks, resolving the relative symlinks, + and returning the absolute. + @param symlink: path of symlink (must be absolute) + @param target: the target of the symlink (as returned + by readlink) + @rtype: str + @return: the absolute path of the symlink target + """ if target is not None: mylink = target else: -- 2.26.2