environment/lib/python2.7/site-packages/IPython/frontend/qt/console/frontend_widget.py
def _is_complete(self, source, interactive):
        """ Returns whether 'source' can be completely processed and a new
            prompt created. When triggered by an Enter/Return key press,
            'interactive' is True; otherwise, it is False.
        """
        complete = self._input_splitter.push(source)
        if interactive:
            complete = not self._input_splitter.push_accepts_more()
        return complete
def _is_complete(self, source, interactive):
        """ Returns whether 'source' can be completely processed and a new
            prompt created. When triggered by an Enter/Return key press,
            'interactive' is True; otherwise, it is False.
        """
        complete = self._input_splitter.push(source)
        if interactive:
            complete = not self._input_splitter.push_accepts_more()
        return complete
def _is_complete ( self , source , interactive ) : complete = self . _input_splitter . push ( source ) if interactive : complete = not self . _input_splitter . push_accepts_more ( ) return complete
Returns whether 'source' can be completely processed and a new
            prompt created. When triggered by an Enter/Return key press,
            'interactive' is True; otherwise, it is False.
Returns whether source can be completely processed and a new prompt created . When triggered by an Enter / Return key press interactive is True ; otherwise it is False .