Raymond Hettinger <[EMAIL PROTECTED]> added the comment: 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. ---------- resolution: -> works for me status: open -> closed _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3891> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com