code: def _rot_list(l: list, k: int):
      """Rotate list by k items forward.  Ie. item at position 0 will be
      at position k in returned list.  Negative k is allowed."""
      n = len(l)
      k %= n
      if not k:
          return l
      return l[n - k :] + l[: n - k]
  
file_path: catboost/contrib/python/fonttools/fontTools/varLib/iup.py
imports: from typing import Sequence, Tuple, Union
  from numbers import Integral, Real
label_desc: Use image node_id 7 for calling a global function with example usage: _rot_list(l, k) and returns: unknown, l