Matthew Barnett <pyt...@mrabarnett.plus.com> added the comment:

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())

----------
nosy: +mrabarnett

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11775>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to