code: def single_quote(event: KeyPressEvent):
      """Auto-close single quotes"""
      event.current_buffer.insert_text("''")
      event.current_buffer.cursor_left()
  
file_path: catboost/contrib/python/ipython/py3/IPython/terminal/shortcuts/auto_match.py
imports: import re
  from prompt_toolkit.key_binding import KeyPressEvent
label_desc: Use image node_id 5 for calling a global function with example usage: single_quote(event) without return types