diff options
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/polynomial/_polybase.pyi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/polynomial/_polybase.pyi b/numpy/polynomial/_polybase.pyi index 537221c45..25c740dbe 100644 --- a/numpy/polynomial/_polybase.pyi +++ b/numpy/polynomial/_polybase.pyi @@ -9,6 +9,8 @@ class ABCPolyBase(abc.ABC): maxpower: ClassVar[int] coef: Any @property + def symbol(self) -> str: ... + @property @abc.abstractmethod def domain(self): ... @property @@ -21,7 +23,7 @@ class ABCPolyBase(abc.ABC): def has_samedomain(self, other): ... def has_samewindow(self, other): ... def has_sametype(self, other): ... - def __init__(self, coef, domain=..., window=...): ... + def __init__(self, coef, domain=..., window=..., symbol: str = ...) -> None: ... def __format__(self, fmt_str): ... def __call__(self, arg): ... def __iter__(self): ... |
