On Sat, Nov 14, 2015 at 2:45 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote: >> Yes, unary minus has the same issue - but it's a lot more important >> than unary plus is. In ECMAScript, unary plus means "force this to be >> a number"; what's its purpose in Python? > > It forces a Counter to contain only positive counts?
Did not know that, and would not have gone looking for it. If Python hadn't had a unary plus operator, Counter would have managed in some other way, without being materially impacted by it. ChrisA -- https://mail.python.org/mailman/listinfo/python-list