code: def _wrap_ptyprocess_err():
      """Turn ptyprocess errors into our own ExceptionPexpect errors"""
      try:
          yield
      except ptyprocess.PtyProcessError as e:
          raise ExceptionPexpect(*e.args)
  
imports: import os
  import sys
  import time
  import pty
  import tty
  import errno
  import signal
  from contextlib import contextmanager
  import ptyprocess
  from ptyprocess.ptyprocess import use_native_pty_fork
  from .exceptions import ExceptionPexpect, EOF, TIMEOUT
  from .spawnbase import SpawnBase
  from .utils import which, split_command_line, select_ignore_interrupts, poll_ignore_interrupts
label_desc: Use image node_id 1 for calling a global function with example usage: _wrap_ptyprocess_err() without return types