>>> import pysize >>> import sys >>> pysize.get_size([]) 0 >>> sys.getsizeof([]) 72 >>> a = [[],{},()] >>> pysize.get_size(a) 0 >>> sys.getsizeof(a) 96 # probably also wrong?
I've fixed the bug causing the above, thank you for the call out!