<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_listener(self, listener):
 """Remove the given listener from the wrapped client. :param listener: A listener previously passed to :meth:`add_listener`. """

        internal_listener = self._internal_listeners.pop(listener)
        return self._client.remove_listener(internal_listener)