def show_quick_panel(window, list, on_done):
 flags = 0
 if (int(sublime.version()) >= 3070):
  flags = sublime.KEEP_OPEN_ON_FOCUS_LOST
 return window.show_quick_panel(list, on_done, flags)

def show_quick_panel ( window , list , on_done ) : flags = 0 if ( int ( sublime . version ( ) ) >= 3070 ) : flags = sublime . KEEP_OPEN_ON_FOCUS_LOST return window . show_quick_panel ( list , on_done , flags )
wrapper for the window .