parameters: ()
docstring: Turn ptyprocess errors into our own ExceptionPexpect errors
docstring_summary: Turn ptyprocess errors into our own ExceptionPexpect errors
docstring_tokens: Turn ptyprocess errors into our own ExceptionPexpect errors
function: def _wrap_ptyprocess_err():
      """Turn ptyprocess errors into our own ExceptionPexpect errors"""
      try:
          yield
      except ptyprocess.PtyProcessError as e:
          raise ExceptionPexpect(*e.args)
function_tokens: def _wrap_ptyprocess_err ( ) : try : yield except ptyprocess . PtyProcessError as e : raise ExceptionPexpect ( * e . args )