fixed docstrings
This commit is contained in:
parent
bdd309fc2b
commit
8086f2112e
2 changed files with 9 additions and 1 deletions
|
@ -504,7 +504,7 @@ class FeedEntry(object):
|
||||||
|
|
||||||
|
|
||||||
def published(self, published=None):
|
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.
|
creation or first availability of the entry.
|
||||||
|
|
||||||
The value can either be a string which will automatically be parsed or a
|
The value can either be a string which will automatically be parsed or a
|
||||||
|
|
|
@ -395,6 +395,9 @@ class FeedGenerator(object):
|
||||||
|
|
||||||
This will set both atom:updated and rss:lastBuildDate.
|
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.
|
:param updated: The modification date.
|
||||||
:returns: Modification date as datetime.datetime
|
:returns: Modification date as datetime.datetime
|
||||||
'''
|
'''
|
||||||
|
@ -421,6 +424,9 @@ class FeedGenerator(object):
|
||||||
|
|
||||||
This will set both atom:updated and rss:lastBuildDate.
|
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.
|
:param lastBuildDate: The modification date.
|
||||||
:returns: Modification date as datetime.datetime
|
:returns: Modification date as datetime.datetime
|
||||||
'''
|
'''
|
||||||
|
@ -433,11 +439,13 @@ class FeedGenerator(object):
|
||||||
for RSS.
|
for RSS.
|
||||||
|
|
||||||
This method can be called with:
|
This method can be called with:
|
||||||
|
|
||||||
- the fields of an author as keyword arguments
|
- the fields of an author as keyword arguments
|
||||||
- the fields of an author as a dictionary
|
- the fields of an author as a dictionary
|
||||||
- a list of dictionaries containing the author fields
|
- a list of dictionaries containing the author fields
|
||||||
|
|
||||||
An author has the following fields:
|
An author has the following fields:
|
||||||
|
|
||||||
- *name* conveys a human-readable name for the person.
|
- *name* conveys a human-readable name for the person.
|
||||||
- *uri* contains a home page for the person.
|
- *uri* contains a home page for the person.
|
||||||
- *email* contains an email address for the person.
|
- *email* contains an email address for the person.
|
||||||
|
|
Loading…
Reference in a new issue