code: def roll(
      x: Array,
      /,
      shift: Union[int, Tuple[int, ...]],
      *,
      axis: Optional[Union[int, Tuple[int, ...]]] = None,
  ) -> Array:
      """
      Array API compatible wrapper for :py:func:`np.roll <numpy.roll>`.
  
      See its docstring for more information.
      """
      return Array._new(np.roll(x._array, shift, axis=axis))
  
file_path: numpy/numpy/array_api/_manipulation_functions.py
imports: from __future__ import annotations
  from ._array_object import Array
  from ._data_type_functions import result_type
  from typing import List, Optional, Tuple, Union
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: roll(shift) and returns: Array