-
-
Notifications
You must be signed in to change notification settings - Fork 6
Labels
Milestone
Description
This module currently only defines class _ctypes
, which is missing some methods, and there are several other member (including public ones) missing.
stubgen
1.15.0 output:
from .multiarray import ndarray as ndarray
from _typeshed import Incomplete
IS_PYPY: bool
format_re: Incomplete
sep_re: Incomplete
space_re: Incomplete
_nbo: str
_pep3118_native_map: Incomplete
_pep3118_native_typechars: Incomplete
_pep3118_standard_map: Incomplete
_pep3118_standard_typechars: Incomplete
_pep3118_unsupported_map: Incomplete
_convorder: Incomplete
class dummy_ctype:
_cls: Incomplete
def __init__(self, cls) -> None: ...
def __call__(self, *other) -> Incomplete: ...
def __mul__(self, other) -> Incomplete: ...
def __eq__(self, other) -> Incomplete: ...
def __ne__(self, other) -> Incomplete: ...
class _ctypes:
_arr: Incomplete
_ctypes: Incomplete
_data: Incomplete
_zerod: bool
@property
def data(self) -> Incomplete: ...
@property
def shape(self) -> Incomplete: ...
@property
def strides(self) -> Incomplete: ...
@property
def _as_parameter_(self) -> Incomplete: ...
def __init__(self, array, ptr: Incomplete | None = None) -> None: ...
def data_as(self, obj) -> Incomplete: ...
def get_data(self) -> Incomplete: ...
def shape_as(self, obj) -> Incomplete: ...
def get_shape(self) -> Incomplete: ...
def strides_as(self, obj) -> Incomplete: ...
def get_strides(self) -> Incomplete: ...
def get_as_parameter(self) -> Incomplete: ...
class _missing_ctypes:
class c_void_p:
value: Incomplete
def __init__(self, ptr) -> None: ...
def cast(self, num, obj) -> Incomplete: ...
class _Stream:
s: Incomplete
byteorder: str
@property
def next(self) -> Incomplete: ...
def __init__(self, s) -> None: ...
def __bool__(self) -> bool: ...
def advance(self, n) -> Incomplete: ...
def consume(self, c) -> Incomplete: ...
def consume_until(self, c) -> Incomplete: ...
def array_ufunc_errmsg_formatter(dummy, ufunc, method, *inputs, **kwargs) -> Incomplete: ...
def array_function_errmsg_formatter(public_api, types) -> Incomplete: ...
def npy_ctypes_check(cls) -> Incomplete: ...
def _makenames_list(adict, align) -> Incomplete: ...
def _usefields(adict, align) -> Incomplete: ...
def _array_descr(descriptor) -> Incomplete: ...
def _commastring(astr) -> Incomplete: ...
def _getintp_ctype() -> Incomplete: ...
def _dtype_from_pep3118(spec) -> Incomplete: ...
def _fix_names(field_spec) -> None: ...
def _add_trailing_padding(value, padding) -> Incomplete: ...
def _prod(a) -> Incomplete: ...
def _gcd(a, b) -> Incomplete: ...
def _lcm(a, b) -> Incomplete: ...
def _ufunc_doc_signature_formatter(ufunc) -> Incomplete: ...
def _convert_to_stringdtype_kwargs(coerce, na_object=...) -> Incomplete: ...
def _newnames(datatype, order) -> Incomplete: ...
def _copy_fields(ary) -> Incomplete: ...
def _promote_fields(dt1, dt2) -> Incomplete: ...
def _getfield_is_safe(oldtype, newtype, offset) -> None: ...
def _view_is_safe(oldtype, newtype) -> None: ...