<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reset_namespace(self):

 """Resets the namespace by removing all names defined by the user"""

        self.shellwidget.reset_namespace(warning=self.reset_warning,
                                         message=True)