Fixed #4068 -- Fixed incorrect docstring in docs/syndication_feeds.txt. Thanks, Jeff Hilyard and Vinay Sajip

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-05-02 20:31:15 +00:00
parent 4b41fb4ba9
commit d82860ec07
1 changed files with 3 additions and 3 deletions

View File

@ -646,15 +646,15 @@ This example illustrates all possible attributes and methods for a ``Feed`` clas
def item_enclosure_mime_type(self, item): def item_enclosure_mime_type(self, item):
""" """
Takes an item, as returned by items(), and returns the item's Takes an item, as returned by items(), and returns the item's
enclosure mime type. enclosure MIME type.
""" """
def item_enclosure_mime_type(self): def item_enclosure_mime_type(self):
""" """
Returns the enclosure length, in bytes, for every item in the feed. Returns the enclosure MIME type for every item in the feed.
""" """
item_enclosure_mime_type = "audio/mpeg" # Hard-coded enclosure mime-type. item_enclosure_mime_type = "audio/mpeg" # Hard-coded enclosure MIME type.
# ITEM PUBDATE -- It's optional to use one of these three. This is a # ITEM PUBDATE -- It's optional to use one of these three. This is a
# hook that specifies how to get the pubdate for a given item. # hook that specifies how to get the pubdate for a given item.