Message167656
| Author |
meador.inge |
| Recipients |
mark.dickinson, meador.inge, rhettinger, slwebber |
| Date |
2012年08月08日.04:16:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1344399384.1.0.00788528210284.issue14182@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Ah, good examples Mark. So, why is it ever useful keep a key with a value of zero? In other words, why:
>>> Counter(a=0)
Counter({'a': 0})
instead of:
>>> Counter(a=0)
Counter()
?
The latter seems more consistent to me. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月08日 04:16:24 | meador.inge | set | recipients:
+ meador.inge, rhettinger, mark.dickinson, slwebber |
| 2012年08月08日 04:16:24 | meador.inge | set | messageid: <1344399384.1.0.00788528210284.issue14182@psf.upfronthosting.co.za> |
| 2012年08月08日 04:16:23 | meador.inge | link | issue14182 messages |
| 2012年08月08日 04:16:22 | meador.inge | create |
|