<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hsplit(self, location=None, new=False, text=None):
 """ Split horizontally. """

        assert location is None or text is None or new is False  # Don't pass two of them.

        if location or text or new:
            editor_buffer = self._get_or_create_editor_buffer(location=location, text=text)
        else:
            editor_buffer = None
        self.active_tab.hsplit(editor_buffer)