Mercurial > hg > numerics
changeset 65:3f04d7ae4d69
wip
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 27 Feb 2015 13:34:05 -0800 |
parents | 719029ee5e7b |
children | 7dd1b18c9f78 |
files | numerics/histogram.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/numerics/histogram.py Thu Feb 26 15:48:19 2015 -0800 +++ b/numerics/histogram.py Fri Feb 27 13:34:05 2015 -0800 @@ -37,6 +37,9 @@ self.histogram = self.OrderedDict(zip(bins[:-1], bins[1:])) + def __iadd__(self, value): + return self + class HistogramParser(CSVParser): """histogram CLI option parser"""