def itemsize(obj, **opts):
    '''Return the item size of an object (in bytes).

    See function **basicsize** for a description of the options.
    '''
    i = t = _typedefof(obj, **opts)
    if t:
        i, v = t.item, t.vari
        if v and i == _sizeof_Cbyte:
            i = getattr(obj, v, i)
    return i
Return the item size of an object (in bytes).

    See function **basicsize** for a description of the options.
    
recipes/Python/546530_Size_of_Python_objects_revised/recipe-546530.py