This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eli.bendersky
Recipients docs@python, eli.bendersky, eric.araujo, pitrou
Date 2011-08-09.02:40:29
SpamBayes Score 0.00018075807
Marked as misclassified No
Message-id <1312857630.36.0.242503919129.issue12672@psf.upfronthosting.co.za>
In-reply-to
Content
Éric,
I know perfectly well that [].append is valid Python, but I don't think this is the clearest way to give an example of an object method. I think spelling [].append's meaning more explicitly would be better.

I'm also aware that there are tab problems all over the code base. I'm not suggesting a large cleanup. But I do think that in *example code* in the documentation, it wouldn't hurt to make the code idiomatically styled. After all, this is what people will copy-paste when writing new code.
History
Date User Action Args
2011-08-09 02:40:30eli.benderskysetrecipients: + eli.bendersky, pitrou, eric.araujo, docs@python
2011-08-09 02:40:30eli.benderskysetmessageid: <1312857630.36.0.242503919129.issue12672@psf.upfronthosting.co.za>
2011-08-09 02:40:29eli.benderskylinkissue12672 messages
2011-08-09 02:40:29eli.benderskycreate