<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_modules(self, names):
 """ An internal method that gets the `names` from sys.modules and returns them as a list """

        loaded_modules = []
        for name in names:
            loaded_modules.append(sys.modules[name])
        return loaded_modules