Message151439
| Author |
dwt |
| Recipients |
dwt |
| Date |
2012年01月17日.10:21:51 |
| SpamBayes Score |
1.352699e-10 |
| Marked as misclassified |
No |
| Message-id |
<1326795711.98.0.609923971725.issue13805@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
[].sort() returns None which means you can't chain it.
So for example someDict.keys().sort()[0] doesn't work but you have to use sorted(someDict.keys())[0] instead which is harder to read as you have to read the line not from the beginning to the end but jump back and forth in it to understand it (which gets progressively harder as the individual parts of it get longer / more complex). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年01月17日 10:21:52 | dwt | set | recipients:
+ dwt |
| 2012年01月17日 10:21:51 | dwt | set | messageid: <1326795711.98.0.609923971725.issue13805@psf.upfronthosting.co.za> |
| 2012年01月17日 10:21:51 | dwt | link | issue13805 messages |
| 2012年01月17日 10:21:51 | dwt | create |
|