class_docstr: Convert IPython 'syntax' to valid Python.
  
  Eventually this code may grow to be the full IPython syntax conversion
  implementation, but for now it only does prompt conversion.
class_docstr_tok: ["Convert","IPython","'syntax","'","to","valid","Python",".","Eventually","this","code","may","grow","to","be","the","full","IPython","syntax","conversion","implementation",",","but","for","now","it","only","does","prompt","conversion","."]
code: def __init__(self):
      self.rps1 = re.compile(r"In\ \[\d+\]: ")
      self.rps2 = re.compile(r"\ \ \ \.\.\.+: ")
      self.rout = re.compile(r"Out\[\d+\]: \s*?\n?")
      self.pyps1 = ">>> "
      self.pyps2 = "... "
      self.rpyps1 = re.compile(r"(\s*%s)(.*)$" % self.pyps1)
      self.rpyps2 = re.compile(r"(\s*%s)(.*)$" % self.pyps2)
  
file_path: catboost/contrib/python/ipython/py3/IPython/testing/ipunittest.py
imports: import re
  import unittest
  from doctest import DocTestFinder, DocTestRunner, TestResults
  from IPython.terminal.interactiveshell import InteractiveShell
label_desc: Use image node_id 1 to create a new IPython2PythonConverter object from inherited base classes: object with example: obj = IPython2PythonConverter()