Code

Opened 7 years ago

Closed 7 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@…> 7 years ago.
Patch correcting docstring

Download all attachments as: .zip

Change History (5)

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

Patch correcting docstring

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from incorrect docstring in RSS documentation example to [patch] incorrect docstring in RSS documentation example
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by mtredinnick

  • Summary changed from [patch] incorrect docstring in RSS documentation example to Incorrect docstring in RSS documentation example

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

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

  • Triage Stage changed from Accepted to Ready for checkin

comment:4 Changed 7 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.