| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/pexpect-stubs/ |
Upload File : |
from _typeshed import Incomplete
from io import BytesIO, StringIO
from .exceptions import EOF, TIMEOUT
from .spawnbase import SpawnBase
class searcher_string:
eof_index: int
timeout_index: int
longest_string: int
def __init__(self, strings) -> None: ...
match: Incomplete
start: Incomplete
end: Incomplete
def search(self, buffer, freshlen, searchwindowsize: Incomplete | None = None): ...
class searcher_re:
eof_index: int
timeout_index: int
def __init__(self, patterns) -> None: ...
start: Incomplete
match: Incomplete
end: Incomplete
def search(self, buffer, freshlen: int, searchwindowsize: int | None = None): ...
class Expecter:
spawn: BytesIO | StringIO
searcher: searcher_re | searcher_string
searchwindowsize: int | None
lookback: searcher_string | searcher_re | int | None
def __init__(self, spawn: SpawnBase, searcher: searcher_re | searcher_string, searchwindowsize: int = -1) -> None: ...
def do_search(self, window: str, freshlen: int): ...
def existing_data(self): ...
def new_data(self, data: Incomplete): ...
def eof(self, err: Incomplete | None = None) -> int | EOF: ...
def timeout(self, err: object | None = None) -> int | TIMEOUT: ...
def errored(self) -> None: ...
def expect_loop(self, timeout: int = -1): ...