Skip to content

Commit 9053c72

Browse files
committed
Fix stubtest
1 parent 31d98cc commit 9053c72

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎src/numpy_quaddtype/_quaddtype_main.pyi‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from typing import Any, Literal, TypeAlias, final, overload
1+
from collections.abc import Buffer
2+
from typing import Any, Literal, SupportsIndex, TypeAlias, final, overload
23
import builtins
34
import numpy as np
45
from numpy._typing import _128Bit # pyright: ignore[reportPrivateUsage]
@@ -192,6 +193,10 @@ def get_sleef_constant(
192193
/,
193194
) -> QuadPrecision: ...
194195

196+
def from_raw_bytes(
197+
data: Buffer, backend: _Backend = "sleef", ld_format: SupportsIndex = -1, /
198+
) -> QuadPrecision: ...
199+
195200
def set_num_threads(num_threads: int, /) -> None: ...
196201
def get_num_threads() -> int: ...
197202
def get_quadblas_version() -> str: ...

0 commit comments

Comments
 (0)