﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2646	Spurious comma in Syndication/Atom1Feed Example Usage causes example code to fail.	lec9@…	Jacob	"On the page http://www.djangoproject.com/documentation/syndication/, in the ""Example Usage"" of an Atom1Feed, there's a spurious comma at the end of the block included below. This results in f being a tuple containing a reference to an Atom1Feed instance, when f should simply be a copy of that reference. (I'm a little bit new to Python, so apologies if I'm misusing the terminology)


{{{
>>> f = feedgenerator.Atom1Feed(
...     title=u""My Weblog"",
...     link=u""http://www.example.com/"",
...     description=u""In which I write about what I ate today."",
...     language=u""en""),

}}}


As such, the attempt to call ""f.add_item(....)"" fails. Solution: remove spurious comma."	defect	closed	Documentation		normal	fixed			Unreviewed	0	0	0	0	0	0
