Message228094
> I'll go with +0.5. :)
I was going to make a joke about Counters only accepting integral values, but the constructor is actually quite laxist:
>>> Counter({'a': 2.5})
Counter({'a': 2.5})
>>> Counter({'a': 2.5 + 1j})
Counter({'a': (2.5+1j)})
>>> Counter({'a': 'b'})
Counter({'a': 'b'})
(!) |
|
Date |
User |
Action |
Args |
2014-10-01 17:18:48 | pitrou | set | recipients:
+ pitrou, rhettinger, eric.smith, steven.daprano, r.david.murray, cool-RR, ethan.furman, serhiy.storchaka, josh.r |
2014-10-01 17:18:48 | pitrou | set | messageid: <1412183928.21.0.779307850059.issue22515@psf.upfronthosting.co.za> |
2014-10-01 17:18:48 | pitrou | link | issue22515 messages |
2014-10-01 17:18:48 | pitrou | create | |
|