Opened 10 years ago

Closed 10 years ago

#4068 closed (fixed)

Incorrect docstring in RSS documentation example

Reported by: Jeff Hilyard <jhilyard@…> Owned by: Jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

http://www.djangoproject.com/documentation/syndication_feeds/ says:

def item_enclosure_mime_type(self):

"""
Returns the enclosure length, in bytes, for every item in the feed.
"""

should say:

def item_enclosure_mime_type(self):

"""
Returns the enclosure mime type for every item in the feed.
"""

Attachments (1)

feeds_doc.patch (535 bytes) - added by Vinay Sajip <vinay_sajip@…> 10 years ago.
Patch correcting docstring

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by Vinay Sajip <vinay_sajip@…>

Attachment: feeds_doc.patch added

Patch correcting docstring

comment:1 Changed 10 years ago by Vinay Sajip <vinay_sajip@…>

Summary: incorrect docstring in RSS documentation example[patch] incorrect docstring in RSS documentation example
Triage Stage: UnreviewedAccepted

comment:2 Changed 10 years ago by Malcolm Tredinnick

Summary: [patch] incorrect docstring in RSS documentation exampleIncorrect docstring in RSS documentation example

Removing [patch] from title. We have the checkbox for that.

comment:3 Changed 10 years ago by Vinay Sajip <vinay_sajip@…>

Triage Stage: AcceptedReady for checkin

comment:4 Changed 10 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [5139]) Fixed #4068 -- Fixed incorrect docstring in docs/syndication_feeds.txt. Thanks, Jeff Hilyard and Vinay Sajip

Note: See TracTickets for help on using tickets.
Back to Top