def _module_refs(obj, named):
    '''Return specific referents of a module object.
    '''
    # ignore this very module
    if obj.__name__ == __name__:
        return ()
    # module is essentially a dict
    return _dict_refs(obj.__dict__, named)
Return specific referents of a module object.
    
recipes/Python/546530_Size_of_Python_objects_revised/recipe-546530.py