fixed docstrings

This commit is contained in:
Lars Kiesow 2013-05-13 17:48:51 +02:00
parent bdd309fc2b
commit 8086f2112e
2 changed files with 9 additions and 1 deletions

View file

@ -504,7 +504,7 @@ class FeedEntry(object):
def published(self, published=None):
'''Set or get the published value which ontains the time of the initial
'''Set or get the published value which contains the time of the initial
creation or first availability of the entry.
The value can either be a string which will automatically be parsed or a

View file

@ -395,6 +395,9 @@ class FeedGenerator(object):
This will set both atom:updated and rss:lastBuildDate.
Default value
If not set, updated has as value the current date and time.
:param updated: The modification date.
:returns: Modification date as datetime.datetime
'''
@ -421,6 +424,9 @@ class FeedGenerator(object):
This will set both atom:updated and rss:lastBuildDate.
Default value
If not set, lastBuildDate has as value the current date and time.
:param lastBuildDate: The modification date.
:returns: Modification date as datetime.datetime
'''
@ -433,11 +439,13 @@ class FeedGenerator(object):
for RSS.
This method can be called with:
- the fields of an author as keyword arguments
- the fields of an author as a dictionary
- a list of dictionaries containing the author fields
An author has the following fields:
- *name* conveys a human-readable name for the person.
- *uri* contains a home page for the person.
- *email* contains an email address for the person.