def _find_dependent_modules(self, module):
dms = set()<EOL>for um in inspect.getmembers(module, inspect.ismodule):<EOL><INDENT>dms.add(um[<NUM_LIT:1>])<EOL><DEDENT>for uc in inspect.getmembers(module, inspect.isclass):<EOL><INDENT>self._add_obj_module(dms, uc[<NUM_LIT:1>])<EOL><DEDENT>for ur in inspect.getmembers(module, inspect.isroutine):<EOL><INDENT>self._add_obj_module(dms, ur[<NUM_LIT:1>])<EOL><DEDENT>return dms<EOL>
Return the set of dependent modules for used modules,
classes and routines.