def patch_sys(stdin=True, stdout=True, stderr=True):
 if PY3:
  return
 if stdin:
  _patch_sys_std('stdin')
 if stdout:
  _patch_sys_std('stdout')
 if stderr:
  _patch_sys_std('stderr')

def patch_sys ( stdin = True , stdout = True , stderr = True ) : if PY3 : return if stdin : _patch_sys_std ( 'stdin' ) if stdout : _patch_sys_std ( 'stdout' ) if stderr : _patch_sys_std ( 'stderr' )
patch sys .