Message227451
| Author |
Владимир.Тырин |
| Recipients |
Владимир.Тырин |
| Date |
2014年09月24日.14:20:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1411568448.91.0.544050885168.issue22481@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This behavior seems to be very strange.
>>> l = [1, 2, 3]
>>> t = ('a', l)
>>> t
('a', [1, 2, 3])
>>> t[1] += [4]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'tuple' object does not support item assignment
>>> t
('a', [1, 2, 3, 4]) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年09月24日 14:20:48 | Владимир.Тырин | set | recipients:
+ Владимир.Тырин |
| 2014年09月24日 14:20:48 | Владимир.Тырин | set | messageid: <1411568448.91.0.544050885168.issue22481@psf.upfronthosting.co.za> |
| 2014年09月24日 14:20:48 | Владимир.Тырин | link | issue22481 messages |
| 2014年09月24日 14:20:48 | Владимир.Тырин | create |
|