diff options
| author | Scott <[email protected]> | 2022-02-02 09:14:12 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-02-02 09:14:12 -0800 |
| commit | a4bf4d05230474ad14243d67ac7f8c938f670e58 (patch) | |
| tree | 673fb8bea628ce51b942d93ba5df433732c7384e /histogram.py | |
| parent | 971d4ba141459f78d10d5770b9459d1ead7d49a0 (diff) | |
More type annotations.
Diffstat (limited to 'histogram.py')
| -rw-r--r-- | histogram.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/histogram.py b/histogram.py index 993b503..d45e93f 100644 --- a/histogram.py +++ b/histogram.py @@ -85,8 +85,8 @@ class SimpleHistogram(Generic[T]): return txt max_label_width: Optional[int] = None - lowest_start: int = None - highest_end: int = None + lowest_start: Optional[int] = None + highest_end: Optional[int] = None for bucket in sorted(self.buckets, key=lambda x: x[0]): start = bucket[0] if lowest_start is None: |
