Not sure why this has migrated to this list instead of Python-Ideas. Possibly a copy-paste error? *wink*
On Mon, 9 May 2016 12:24 am, Ian Kelly wrote: > On May 8, 2016 12:42 AM, "Steven D'Aprano" <st...@pearwood.info> wrote: >> >> def pvariance(data, mu=None): >> if iter(data) is data: >> data = list(data) >> n = len(data) >> if n < 1: >> raise StatisticsError('pvariance requires at least one data > point') >> ss = _ss(data, mu) >> T, ss = _ss(data, mu) > > Copy-paste error? I have literally no idea how that happened. Anyway, it's fixed now. -- Steven -- https://mail.python.org/mailman/listinfo/python-list