<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _add_to_spec(self, name):
 """The spec of the mirrored mock object is updated whenever the mirror gains new attributes"""

        self._spec.add(name)
        self._mock.mock_add_spec(list(self._spec), True)