From 244e8476c95d14a480be7160042b2b27b693ca63 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Wed, 9 Feb 2022 10:30:44 -0800 Subject: Ditch named tuples for dataclasses. --- histogram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'histogram.py') 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 -- cgit v1.3