We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
list
typing.List
1 parent efc6bfd commit a22b92fCopy full SHA for a22b92f
poly/int_p.py
@@ -4,7 +4,9 @@
4
from poly.int_t import IntT
5
6
7
-class IntP(List[IntT]):
+# TODO: Subclass typing.List[IntT] when pylint supports this.
8
+# See https://github.com/PyCQA/pylint/issues/3129.
9
+class IntP(list):
10
"""A polynomial with int terms and coefficients.
11
12
This type implements a sparse representation, i.e. only non-zero terms are
poly/int_t.py
@@ -2,7 +2,9 @@
2
from typing import Iterable, List, Union
3
-class Ind(List[int]):
+# TODO: Subclass typing.List[int] when pylint supports this.
+class Ind(list):
"""Ind represents the indeterminates of a single term."""
def __init__(self, *args: int) -> None:
0 commit comments