Message151439
[].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). |
|
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 | |
|