code: def _compat_shuffle(rng, input):
      """wrapper around rng.shuffle for python 2 compatibility reasons"""
      rng.shuffle(input)
  
imports: import itertools
  import math
  from collections import defaultdict, namedtuple
  import networkx
  from networkx.utils import not_implemented_for, py_random_state
label_desc: Use image node_id 17 for calling a global function with example usage: _compat_shuffle(rng, input) without return types