diff --git a/httping.py b/httping.py index 40555cd..147d757 100755 --- a/httping.py +++ b/httping.py @@ -17,7 +17,7 @@ from __future__ import annotations import datetime # for the whole ms → s and vice versa stuff import statistics # for median and stdev import sys # for redirecting print to stderr -from typing import Generic, List, Sequence, TypeVar, Optional, Tuple, Dict, Union +from typing import Dict, List, Optional, Tuple import requests # for the central HTTP HEAD request @@ -30,7 +30,6 @@ __maintainer__ = "Tobias Schmidl" MAX_PING: datetime.timedelta = datetime.timedelta(milliseconds=1000) # in seconds TARGETS: List[str] = ["https://www.google.de", "https://www.bing.com", "https://www.wikipedia.org"] -T = TypeVar('T') Bucket = Tuple[int, int] BucketList = List[Bucket]