def _namedtuple_refs(obj, named):
    '''Return specific referents of obj-as-sequence and slots but exclude dict.
    '''
    for r in _refs(obj, named, '__class__', slots='__slots__'):
        yield r
    for r in obj:
        yield r
Return specific referents of obj-as-sequence and slots but exclude dict.
    
recipes/Python/546530_Size_of_Python_objects_revised/recipe-546530.py