__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
from collections.abc import Callable
from types import TracebackType
from typing import Any, Literal, Protocol, TypeVar, overload
from typing_extensions import ParamSpec, Self
from gevent._types import _TimerWatcher
_T = TypeVar("_T")
_T1 = TypeVar("_T1")
_T2 = TypeVar("_T2")
_TimeoutT = TypeVar("_TimeoutT", bound=Timeout)
_P = ParamSpec("_P")
class _HasSeconds(Protocol):
@property
def seconds(self) -> float | int: ...
class Timeout(BaseException):
seconds: float | None
exception: type[BaseException] | BaseException | None
timer: _TimerWatcher
def __init__(
self,
seconds: float | None = None,
exception: type[BaseException] | BaseException | None = None,
ref: bool = True,
priority: int = -1,
) -> None: ...
def start(self) -> None: ...
@overload
@classmethod
def start_new(
cls, timeout: None | float = None, exception: type[BaseException] | BaseException | None = None, ref: bool = True
) -> Self: ...
@overload
@classmethod
def start_new(cls, timeout: _TimeoutT) -> _TimeoutT: ...
@property
def pending(self) -> bool: ...
def cancel(self) -> None: ...
def close(self) -> None: ...
def __enter__(self) -> Self: ...
def __exit__(
self, typ: type[BaseException] | None, value: BaseException | None, tb: TracebackType | None
) -> Literal[True] | None: ...
def __lt__(self, other: _HasSeconds | float) -> bool: ...
# when timeout_value is provided we unfortunately get no type checking on *args, **kwargs, because
# ParamSpec does not allow mixing in additional keyword arguments
@overload
def with_timeout(
seconds: float | None, function: Callable[..., _T1], *args: Any, timeout_value: _T2, **kwds: Any
) -> _T1 | _T2: ...
@overload
def with_timeout(seconds: float | None, function: Callable[_P, _T], *args: _P.args, **kwds: _P.kwargs) -> _T: ...
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| _ffi | Folder | 0755 |
|
|
| libev | Folder | 0755 |
|
|
| libuv | Folder | 0755 |
|
|
| monkey | Folder | 0755 |
|
|
| resolver | Folder | 0755 |
|
|
| __init__.pyi | File | 1.69 KB | 0644 |
|
| _abstract_linkable.pyi | File | 452 B | 0644 |
|
| _config.pyi | File | 6.16 KB | 0644 |
|
| _fileobjectcommon.pyi | File | 11.49 KB | 0644 |
|
| _greenlet_primitives.pyi | File | 427 B | 0644 |
|
| _hub_local.pyi | File | 469 B | 0644 |
|
| _hub_primitives.pyi | File | 3 KB | 0644 |
|
| _ident.pyi | File | 251 B | 0644 |
|
| _imap.pyi | File | 1000 B | 0644 |
|
| _monitor.pyi | File | 2.03 KB | 0644 |
|
| _threading.pyi | File | 644 B | 0644 |
|
| _types.pyi | File | 6.68 KB | 0644 |
|
| _util.pyi | File | 2.01 KB | 0644 |
|
| _waiter.pyi | File | 1.61 KB | 0644 |
|
| ares.pyi | File | 36 B | 0644 |
|
| backdoor.pyi | File | 1.42 KB | 0644 |
|
| baseserver.pyi | File | 2.45 KB | 0644 |
|
| event.pyi | File | 2.75 KB | 0644 |
|
| events.pyi | File | 5.44 KB | 0644 |
|
| exceptions.pyi | File | 450 B | 0644 |
|
| fileobject.pyi | File | 5.62 KB | 0644 |
|
| greenlet.pyi | File | 3.81 KB | 0644 |
|
| hub.pyi | File | 4.05 KB | 0644 |
|
| local.pyi | File | 343 B | 0644 |
|
| lock.pyi | File | 1.81 KB | 0644 |
|
| os.pyi | File | 1.09 KB | 0644 |
|
| pool.pyi | File | 7.47 KB | 0644 |
|
| py.typed | File | 0 B | 0644 |
|
| pywsgi.pyi | File | 6.51 KB | 0644 |
|
| queue.pyi | File | 3.59 KB | 0644 |
|
| resolver_ares.pyi | File | 35 B | 0644 |
|
| resolver_thread.pyi | File | 37 B | 0644 |
|
| select.pyi | File | 414 B | 0644 |
|
| selectors.pyi | File | 1.07 KB | 0644 |
|
| server.pyi | File | 3.16 KB | 0644 |
|
| signal.pyi | File | 515 B | 0644 |
|
| socket.pyi | File | 1.09 KB | 0644 |
|
| ssl.pyi | File | 1.27 KB | 0644 |
|
| subprocess.pyi | File | 168 B | 0644 |
|
| threadpool.pyi | File | 2.02 KB | 0644 |
|
| time.pyi | File | 59 B | 0644 |
|
| timeout.pyi | File | 1.87 KB | 0644 |
|
| util.pyi | File | 1.87 KB | 0644 |
|
| win32util.pyi | File | 75 B | 0644 |
|