homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:24meador.ingesetrecipients: + meador.inge, rhettinger, mark.dickinson, slwebber
2012年08月08日 04:16:24meador.ingesetmessageid: <1344399384.1.0.00788528210284.issue14182@psf.upfronthosting.co.za>
2012年08月08日 04:16:23meador.ingelinkissue14182 messages
2012年08月08日 04:16:22meador.ingecreate

AltStyle によって変換されたページ (->オリジナル) /