code: def _swap_slices(x, slc1, slc2):
      t = x[slc1].copy()
      x[slc1] = x[slc2].copy()
      x[slc2] = t
  
file_path: scipy/scipy/stats/_qmvnt.py
imports: import numpy
  from scipy.fft import fft, ifft
  from scipy.special import gammaincinv, ndtr, ndtri
  from scipy.stats._qmc import primes_from_2_to
label_desc: Use image node_id 9 for calling a global function with example usage: _swap_slices(x, slc1, slc2) without return types