Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #4068 -- Fixed incorrect docstring in docs/syndication_feeds.tx…

…t. Thanks, Jeff Hilyard and Vinay Sajip

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d82860ec073b7ecbc8c9c863f972f2dd1bc956e5 1 parent 4b41fb4
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/syndication_feeds.txt
View
6 docs/syndication_feeds.txt
@@ -646,15 +646,15 @@ This example illustrates all possible attributes and methods for a ``Feed`` clas
def item_enclosure_mime_type(self, item):
"""
Takes an item, as returned by items(), and returns the item's
- enclosure mime type.
+ enclosure MIME type.
"""
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
# hook that specifies how to get the pubdate for a given item.
Please sign in to comment.
Something went wrong with that request. Please try again.