class_docstr: An input splitter that recognizes all of IPython's special syntax.
class_docstr_tok: ["An","input","splitter","that","recognizes","all","of","IPython","'s","special","syntax","."]
docstr: 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.
docstr_tok: ["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","."]
code: 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
  
imports: from warnings import warn
  import ast
  import codeop
  import io
  import re
  import sys
  import tokenize
  import warnings
  from typing import List, Tuple, Union, Optional
  from types import CodeType
  from IPython.core.inputtransformer import leading_indent, classic_prompt, ipy_prompt, cellmagic, assemble_logical_lines, help_end, escaped_commands, assign_from_magic, assign_from_system, assemble_python_lines
  from IPython.utils import tokenutil
  from IPython.core.inputtransformer import ESC_SHELL, ESC_SH_CAP, ESC_HELP, ESC_HELP2, ESC_MAGIC, ESC_MAGIC2, ESC_QUOTE, ESC_QUOTE2, ESC_PAREN, ESC_SEQUENCES
label_desc: Use image node_id 10 for calling the IPythonInputSplitter obj's underlying member method code with example usage: obj.push(lines) and returns: super, False