Message160982
| 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:10 | zach.ware | set | recipients:
+ zach.ware, docs@python |
| 2012年05月17日 16:56:10 | zach.ware | set | messageid: <1337273770.17.0.397614380243.issue14840@psf.upfronthosting.co.za> |
| 2012年05月17日 16:56:09 | zach.ware | link | issue14840 messages |
| 2012年05月17日 16:56:09 | zach.ware | create |
|