Message133079
It depends on what kind of object it's like. If it's like a dict then your example is clearly not empty, but if it's like a set then it /is/ empty, in which case it's empty if:
all(count == 0 for count in my_counter.values()) |
|
Date |
User |
Action |
Args |
2011-04-05 19:13:44 | mrabarnett | set | recipients:
+ mrabarnett, rhettinger, ezio.melotti, cool-RR |
2011-04-05 19:13:44 | mrabarnett | set | messageid: <1302030824.44.0.228727550712.issue11775@psf.upfronthosting.co.za> |
2011-04-05 19:13:41 | mrabarnett | link | issue11775 messages |
2011-04-05 19:13:41 | mrabarnett | create | |
|