Remove redundant inheritances from Generic and various typing protocols (#10981)

This commit is contained in:
Alex Waygood
2023-11-06 14:00:25 +01:00
committed by GitHub
parent c8073493fc
commit 8023ba764a
9 changed files with 16 additions and 25 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class TqdmMonitorWarning(TqdmWarning, RuntimeWarning): ...
_T = TypeVar("_T")
class tqdm(Iterable[_T], Comparable, Generic[_T]):
class tqdm(Comparable, Generic[_T]):
monitor_interval: ClassVar[int]
monitor: ClassVar[TMonitor | None]