Forked from
kwant / tinyarray
54 commits behind the upstream repository.
-
Joseph Weston authored
A new method `object_size` is added to the Array template class, which calculates the total size of the Python object in bytes. The function `size_of` then wraps this method and provides the necessary interface for a Python method object.
Joseph Weston authoredA new method `object_size` is added to the Array template class, which calculates the total size of the Python object in bytes. The function `size_of` then wraps this method and provides the necessary interface for a Python method object.
test_tinyarray.py 15.16 KiB