From df164b37dbea2d00be844c94d0f09328a06c7cee Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Mon, 29 Aug 2016 01:07:42 +0200 Subject: [PATCH] Fixed documentation Signed-off-by: Lars Kiesow --- feedgen/feed.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/feedgen/feed.py b/feedgen/feed.py index 98da277..d38afdb 100644 --- a/feedgen/feed.py +++ b/feedgen/feed.py @@ -538,6 +538,7 @@ class FeedGenerator(object): rel, type, hreflang, title, and length. Href is mandatory for ATOM. This method can be called with: + - the fields of a link as keyword arguments - the fields of a link as a dictionary - a list of dictionaries containing the link fields @@ -567,7 +568,8 @@ class FeedGenerator(object): RSS only supports one link with URL only. :param link: Dict or list of dicts with data. - :param replace: Add or replace old data. + :param replace: If old links are to be replaced (default: False) + :returns: Current set of link data Example::