When inheriting from generic classes, some type variables could be fixed: ... int, float, complex) Vec = Iterable[tuple[T, T]] def inproduct(v: Vec[T]) ...
確定! 回上一頁