def refs(obj, **opts):
    '''Return (a generator for) specific *referents* of an object.

    See function **basicsize** for a description of the options.
    '''
    r = t = _typedefof(obj, **opts)
    if t:
        r = t.refs
        if r and _iscallable(r):
            r = r(obj, False)
    return r
Return (a generator for) specific *referents* of an object.

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