We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52967d2 commit 39ba35cCopy full SHA for 39ba35c
1 file changed
src/flint/typing.py
@@ -29,6 +29,8 @@
29
)
30
31
from flint.types.fmpz import fmpz
32
+from flint.types.arb import arb
33
+from flint.types.acb import acb
34
35
__all__ = [
36
# Abstract base classes
@@ -131,10 +133,8 @@ def is_one(self) -> bool: ...
131
133
def is_constant(self) -> bool: ...
132
134
def is_gen(self) -> bool: ...
135
def roots(self) -> list[tuple[_Tscalar, int]] | list[_Tscalar]: ...
- # Should be list[arb]:
- def real_roots(self) -> list[Any]: ...
136
- # Should be list[acb]:
137
- def complex_roots(self) -> list[Any]: ...
+ def real_roots(self) -> list[arb]: ...
+ def complex_roots(self) -> list[acb]: ...
138
def derivative(self) -> Self: ...
139
140
0 commit comments