original_docstring:  Sub-function: get registry, redraw_args and doprint 
docstring: Sub-function: get registry, redraw_args and doprint
docstring_tokens: Sub - function : get registry redraw_args and doprint
code: def f_get_values():
        """ Sub-function: get registry, redraw_args and doprint """
        
        ipy_tmp = IPython.get_ipython()
        try:
          # IPython 5-6; render_as_done doesn't exist, but manual print works
          registry    = ipy_tmp.pt_cli.application.key_bindings_registry
          redraw_args = {}
          doprint     = True
          
        except AttributeError:
          # IPython 7+; render_as_done necessary, and removes need for print
          registry    = ipy_tmp.pt_app.key_bindings
          redraw_args = {'render_as_done': True}
          doprint     = False
        #.endtry
          
        return registry, redraw_args, doprint
code_tokens: def f_get_values ( ) : ipy_tmp = IPython . get_ipython ( ) try : registry = ipy_tmp . pt_cli . application . key_bindings_registry redraw_args = { } doprint = True except AttributeError : registry = ipy_tmp . pt_app . key_bindings redraw_args = { 'render_as_done' : True } doprint = False return registry , redraw_args , doprint
short_docstring: Sub-function: get registry, redraw_args and doprint
short_docstring_tokens: Sub - function : get registry redraw_args and doprint
comment: """ Sub-function: get registry, redraw_args and doprint """$SEP$# IPython 5-6; render_as_done doesn't exist, but manual print works$SEP$# IPython 7+; render_as_done necessary, and removes need for print$SEP$#.endtry