[Python-ideas] statistics module in Python3.4
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Feb 1 00:09:17 CET 2014
Wolfgang Maier wrote:
> Mappings may be an excellent way of specifying frequencies and weights in an
> elegant way.
That may be, but I think I'd rather have a separate
function, or a mode argument, explicitly indicating
that this is what you want. Detecting whether something
is a mapping in a duck-typed way is dodgy in general.
--
Greg
More information about the Python-ideas
mailing list