parameters: (self, lines:str)
docstring: Push one or more lines of IPython input.
  
          This stores the given lines and returns a status code indicating
          whether the code forms a complete Python block or not, after processing
          all input lines for special IPython syntax.
  
          Any exceptions generated in compilation are swallowed, but if an
          exception was produced, the method returns True.
  
          Parameters
          ----------
          lines : string
            One or more lines of Python input.
  
          Returns
          -------
          is_complete : boolean
            True if the current input source (the result of the current input
            plus prior inputs) forms a complete Python execution block.  Note that
            this value is also stored as a private attribute (_is_complete), so it
            can be queried at any time.
docstring_summary: Push one or more lines of IPython input.
docstring_tokens: Push one or more lines of IPython input .
function: def push(self, lines:str) -> bool:
          """Push one or more lines of IPython input.
  
          This stores the given lines and returns a status code indicating
          whether the code forms a complete Python block or not, after processing
          all input lines for special IPython syntax.
  
          Any exceptions generated in compilation are swallowed, but if an
          exception was produced, the method returns True.
  
          Parameters
          ----------
          lines : string
            One or more lines of Python input.
  
          Returns
          -------
          is_complete : boolean
            True if the current input source (the result of the current input
            plus prior inputs) forms a complete Python execution block.  Note that
            this value is also stored as a private attribute (_is_complete), so it
            can be queried at any time.
          """
          assert isinstance(lines, str)
          # We must ensure all input is pure unicode
          # ''.splitlines() --> [], but we need to push the empty line to transformers
          lines_list = lines.splitlines()
          if not lines_list:
              lines_list = ['']
  
          # Store raw source before applying any transformations to it.  Note
          # that this must be done *after* the reset() call that would otherwise
          # flush the buffer.
          self._store(lines, self._buffer_raw, 'source_raw')
  
          transformed_lines_list = []
          for line in lines_list:
              transformed = self._transform_line(line)
              if transformed is not None:
                  transformed_lines_list.append(transformed)
  
          if transformed_lines_list:
              transformed_lines = '\n'.join(transformed_lines_list)
              return super(IPythonInputSplitter, self).push(transformed_lines)
          else:
              # Got nothing back from transformers - they must be waiting for
              # more input.
              return False
function_tokens: def push ( self , lines : str ) -> bool : assert isinstance ( lines , str ) # We must ensure all input is pure unicode # ''.splitlines() --> [], but we need to push the empty line to transformers lines_list = lines . splitlines ( ) if not lines_list : lines_list = [ '' ] # Store raw source before applying any transformations to it.  Note # that this must be done *after* the reset() call that would otherwise # flush the buffer. self . _store ( lines , self . _buffer_raw , 'source_raw' ) transformed_lines_list = [ ] for line in lines_list : transformed = self . _transform_line ( line ) if transformed is not None : transformed_lines_list . append ( transformed ) if transformed_lines_list : transformed_lines = '\n' . join ( transformed_lines_list ) return super ( IPythonInputSplitter , self ) . push ( transformed_lines ) else : # Got nothing back from transformers - they must be waiting for # more input. return False