Skip to content
Snippets Groups Projects
Forked from kwant / tinyarray
54 commits behind the upstream repository.
  • Joseph Weston's avatar
    fc33353c
    implement __sizeof__ for tinyarray · fc33353c
    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.
    fc33353c
    History
    implement __sizeof__ for tinyarray
    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.
test_tinyarray.py 15.16 KiB