Author zach.ware
Recipients docs@python, zach.ware
Date 2012-05-17.16:56:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337273770.17.0.397614380243.issue14840@psf.upfronthosting.co.za>
In-reply-to
Content
I was looking through the documentation source files for things I might be able to fix, and stumbled across "XXX Add a bit on the difference between tuples and lists." in Doc\tutorial\datastructures.rst. So I took a stab at adding some prose to address that comment, reproduced here:

"""
Though tuples may seem very similar to lists, their immutability makes them
ideal for fundamentally different usage.  In typical usage, tuples are a
heterogenous structure, whereas lists are a homogenous sequence.  This tends to
mean that, in general, tuples are used as a cohesive unit while lists are used
one member at a time.
"""

Have I missed anything important (like the whole point) or is there anything I could phrase better?

Should this be applied to the tutorials of previous versions?
History
Date User Action Args
2012-05-17 16:56:10zach.waresetrecipients: + zach.ware, docs@python
2012-05-17 16:56:10zach.waresetmessageid: <1337273770.17.0.397614380243.issue14840@psf.upfronthosting.co.za>
2012-05-17 16:56:09zach.warelinkissue14840 messages
2012-05-17 16:56:09zach.warecreate