code: def delete_pair(event: KeyPressEvent):
      """Delete auto-closed parenthesis"""
      event.current_buffer.delete()
      event.current_buffer.delete_before_cursor()
  
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 12 for calling a global function with example usage: delete_pair(event) without return types