Message73459
Sorry Roy, I think you're way off base on this one. There are standard
ways to test for an empty container "if c:" or "if len(c)" or "if len(c)
> 0". This is Python 101.
Closing this one as it has nothing to do specifically with
collections.deque() and is already covered in the Ref Manual. |
|
Date |
User |
Action |
Args |
2008-09-20 08:03:32 | rhettinger | set | recipients:
+ rhettinger, skip.montanaro, georg.brandl, terry.reedy, roysmith |
2008-09-20 08:03:32 | rhettinger | set | messageid: <1221897812.21.0.409648589273.issue3891@psf.upfronthosting.co.za> |
2008-09-20 08:03:31 | rhettinger | link | issue3891 messages |
2008-09-20 08:03:30 | rhettinger | create | |
|