The following modification of the collections.Counter implementation

https://hg.python.org/cpython/rev/fe4efc0032b5

was just checked in with the line

result[elem] = 0 - count

Does this have an advantage over the obvious

result[elem] = -count

?

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

Reply via email to