fixed docstring for sphinx

This commit is contained in:
Lars Kiesow 2013-05-13 15:48:20 +02:00
parent e65d0d4c6c
commit bdd309fc2b

View file

@ -535,11 +535,13 @@ class FeedGenerator(object):
'''Get or set categories that the feed belongs to. '''Get or set categories that the feed belongs to.
This method can be called with: This method can be called with:
- the fields of a category as keyword arguments - the fields of a category as keyword arguments
- the fields of a category as a dictionary - the fields of a category as a dictionary
- a list of dictionaries containing the category fields - a list of dictionaries containing the category fields
A categories has the following fields: A categories has the following fields:
- *term* identifies the category - *term* identifies the category
- *scheme* identifies the categorization scheme via a URI. - *scheme* identifies the categorization scheme via a URI.
- *label* provides a human-readable label for display - *label* provides a human-readable label for display