Comparison against {} will be less efficient. You need to create a
dictionary every time instead of just checking the length of your
dictionary, which is likely stored in the header. So, it will work, but
certainly isn't idiomatic Python.

Skip
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to