A couple of docstrings are fixed (they were refering obsolete params)

This commit is contained in:
Mikhail Korobov 2011-05-06 16:44:12 +06:00
commit 06246557c5
2 changed files with 6 additions and 8 deletions

View file

@ -6,8 +6,7 @@ class Page(object):
"""Represents a page """Represents a page
Given a content, and metadatas, create an adequate object. Given a content, and metadatas, create an adequate object.
:param string: the string to parse, containing the original content. :param content: the string to parse, containing the original content.
:param markup: the markup language to use while parsing.
""" """
mandatory_properties = ('title',) mandatory_properties = ('title',)

View file

@ -44,9 +44,8 @@ class Writer(object):
Return the feed. If no output_path or filename is specified, just return Return the feed. If no output_path or filename is specified, just return
the feed object. the feed object.
:param articles: the articles to put on the feed. :param elements: the articles to put on the feed.
:param context: the context to get the feed metadata. :param context: the context to get the feed metadata.
:param output_path: where to output the file.
:param filename: the filename to output. :param filename: the filename to output.
:param feed_type: the feed type to use (atom or rss) :param feed_type: the feed type to use (atom or rss)
""" """