class_docstr: An object to split an input line in a manner similar to readline.
  
  By having our own implementation, we can expose readline-like completion in
  a uniform manner to all frontends.  This object only needs to be given the
  line of text to be split and the cursor position on said line, and it
  returns the 'word' to be completed on at the cursor after splitting the
  entire line.
  
  What characters are used as splitting delimiters can be controlled by
  setting the `delims` attribute (this is a property that internally
  automatically builds the necessary regular expression)
class_docstr_tok: ["An","object","to","split","an","input","line","in","a","manner","similar","to","readline",".","By","having","our","own","implementation",",","we","can","expose","readline-like","completion","in","a","uniform","manner","to","all","frontends",".","This","object","only","needs","to","be","given","the","line","of","text","to","be","split","and","the","cursor","position","on","said","line",",","and","it","returns","the","'word","'","to","be","completed","on","at","the","cursor","after","splitting","the","entire","line",".","What","characters","are","used","as","splitting","delimiters","can","be","controlled","by","setting","the","`","delims","`","attribute","(","this","is","a","property","that","internally","automatically","builds","the","necessary","regular","expression",")"]
code: def __init__(self, delims=None):
      delims = CompletionSplitter._delims if delims is None else delims
      self.delims = delims
  
imports: from __future__ import print_function
  import __main__
  import glob
  import inspect
  import itertools
  import keyword
  import os
  import re
  import sys
  import unicodedata
  import string
  import warnings
  from traitlets.config.configurable import Configurable
  from IPython.core.error import TryNext
  from IPython.core.inputsplitter import ESC_MAGIC
  from IPython.core.latex_symbols import latex_symbols, reverse_latex_symbol
  from IPython.utils import generics
  from IPython.utils.decorators import undoc
  from IPython.utils.dir2 import dir2, get_real_method
  from IPython.utils.process import arg_split
  from IPython.utils.py3compat import builtin_mod, string_types, PY3, cast_unicode_py2
  from traitlets import Bool, Enum, observe
label_desc: Use image node_id 1 to create a new CompletionSplitter object from inherited base classes: object with example: obj = CompletionSplitter(delims)