💾 Archived View for tris.fyi › pydoc › _testbuffer captured on 2023-01-29 at 03:47:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-01-08)

-=-=-=-=-=-=-

Back to module index

Go to module by name

_testbuffer

This module has no docstring.

Classes

ndarray

add_suboffsets(...)
memoryview_from_buffer(...)
pop(...)
push(...)
tobytes(...)
tolist(...)
c_contiguous = <attribute 'c_contiguous' of 'ndarray' objects>
contiguous = <attribute 'contiguous' of 'ndarray' objects>
f_contiguous = <attribute 'f_contiguous' of 'ndarray' objects>
flags = <attribute 'flags' of 'ndarray' objects>
format = <attribute 'format' of 'ndarray' objects>
itemsize = <attribute 'itemsize' of 'ndarray' objects>
nbytes = <attribute 'nbytes' of 'ndarray' objects>
ndim = <attribute 'ndim' of 'ndarray' objects>
obj = <attribute 'obj' of 'ndarray' objects>
offset = <attribute 'offset' of 'ndarray' objects>
readonly = <attribute 'readonly' of 'ndarray' objects>
shape = <attribute 'shape' of 'ndarray' objects>
strides = <attribute 'strides' of 'ndarray' objects>
suboffsets = <attribute 'suboffsets' of 'ndarray' objects>

staticarray

Functions

cmp_contig

cmp_contig(...)

get_contiguous

get_contiguous(...)

get_pointer

get_pointer(...)

get_sizeof_void_p

get_sizeof_void_p(...)

is_contiguous

is_contiguous(...)

py_buffer_to_contiguous

py_buffer_to_contiguous(...)

slice_indices

slice_indices(...)

Other members

ND_FORTRAN = 4
ND_GETBUF_FAIL = 64
ND_GETBUF_UNDEFINED = 128
ND_MAX_NDIM = 128
ND_PIL = 16
ND_REDIRECT = 32
ND_SCALAR = 8
ND_VAREXPORT = 1
ND_WRITABLE = 2
PyBUF_ANY_CONTIGUOUS = 152
PyBUF_CONTIG = 9
PyBUF_CONTIG_RO = 8
PyBUF_C_CONTIGUOUS = 56
PyBUF_FORMAT = 4
PyBUF_FULL = 285
PyBUF_FULL_RO = 284
PyBUF_F_CONTIGUOUS = 88
PyBUF_INDIRECT = 280
PyBUF_ND = 8
PyBUF_READ = 256
PyBUF_RECORDS = 29
PyBUF_RECORDS_RO = 28
PyBUF_SIMPLE = 0
PyBUF_STRIDED = 25
PyBUF_STRIDED_RO = 24
PyBUF_STRIDES = 24
PyBUF_WRITABLE = 1
PyBUF_WRITE = 512