From: Zac Medico Date: Fri, 15 Feb 2013 22:34:36 +0000 (-0800) Subject: abssymlink: clarify docs, bug #225821 X-Git-Tag: v2.2.0_alpha164~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d6dd49ff7fd6308127474064bccec03b3442f9b5;p=portage.git abssymlink: clarify docs, bug #225821 --- 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: