diff options
| author | Scott Gasch <[email protected]> | 2022-02-09 10:30:44 -0800 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2022-02-09 10:30:44 -0800 |
| commit | 244e8476c95d14a480be7160042b2b27b693ca63 (patch) | |
| tree | 661f9903aac5ac05693d1f74a4272c4b42c41477 /histogram.py | |
| parent | ea7a67e2cf8dc6d7a41e7ff035acae7b36a41a1d (diff) | |
Ditch named tuples for dataclasses.
Diffstat (limited to 'histogram.py')
| -rw-r--r-- | histogram.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/histogram.py b/histogram.py index 6f9c0f1..2657c0b 100644 --- a/histogram.py +++ b/histogram.py @@ -5,7 +5,7 @@ import math from dataclasses import dataclass -from typing import Dict, Generic, Iterable, List, NamedTuple, Optional, Tuple, TypeVar +from typing import Dict, Generic, Iterable, List, Optional, Tuple, TypeVar T = TypeVar("T", int, float) Bound = int |
