-
Notifications
You must be signed in to change notification settings - Fork 0
/
xensieve.pyi
44 lines (24 loc) · 1004 Bytes
/
xensieve.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import typing as tp
class IterValue:
def __init__(self) -> None: ...
def __iter__(self) -> 'IterValue': ...
def __next__(self) -> int: ...
class IterInterval:
def __init__(self) -> None: ...
def __iter__(self) -> 'IterInterval': ...
def __next__(self) -> int: ...
class IterState:
def __init__(self) -> None: ...
def __iter__(self) -> 'IterState': ...
def __next__(self) -> bool: ...
class Sieve:
def __init__(self, expr: str, /) -> None: ...
def __repr__(self) -> str: ...
def __contains__(self, v: int, /) -> bool: ...
def __invert__(self) -> 'Sieve': ...
def __xor__(self, other: 'Sieve') -> 'Sieve': ...
def __or__(self, other: 'Sieve') -> 'Sieve': ...
def __and__(self, other: 'Sieve') -> 'Sieve': ...
def iter_value(self, start: int, stop: int, /) -> IterValue: ...
def iter_interval(self, start: int, stop: int, /) -> IterInterval: ...
def iter_state(self, start: int, stop: int, /) -> IterState: ...