Home
last modified time | relevance | path

Searched refs:_fail_neg (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/
Dstatistics.py298 def _fail_neg(values, errmsg='negative value'): function
425 _, sum_weights, _ = _sum(w for w in _fail_neg(weights, errmsg))
427 data = _fail_neg(data, errmsg)
/third_party/python/Lib/test/
Dtest_statistics.py1020 new = list(statistics._fail_neg(values))
1027 it = statistics._fail_neg(seq)
1034 next(statistics._fail_neg([-1], msg))