environment/lib/python2.7/site-packages/IPython/core/completer.py
def split_line(self, line, cursor_pos=None):
        """Split a line of text with a cursor at the given position.
        """
        l = line if cursor_pos is None else line[:cursor_pos]
        return self._delim_re.split(l)[-1]
def split_line(self, line, cursor_pos=None):
        l = line if cursor_pos is None else line[:cursor_pos]
        return self._delim_re.split(l)[-1]
def split_line ( self , line , cursor_pos = None ) : l = line if cursor_pos is None else line [ : cursor_pos ] return self . _delim_re . split ( l ) [ - 1 ]
Split a line of text with a cursor at the given position.
Split a line of text with a cursor at the given position .