def partition(
        self,
        kth: int | Sequence[int],
        axis: Any = -1,
        kind: SelectKind = "introselect",
        order: OrderType | None = None,
    ) -> None:
        """a.partition(kth, axis=-1, kind='introselect', order=None)

        Partition of an array in-place.

        Refer to :func:`cupynumeric.partition` for full documentation.

        See Also
        --------
        cupynumeric.partition : equivalent function

        Availability
        --------
        Multiple GPUs, Single CPU

        """
        check_writeable(self)
        self._thunk.partition(
            rhs=self._thunk, kth=kth, axis=axis, kind=kind, order=order
        )
a.partition(kth, axis=-1, kind='introselect', order=None)

        Partition of an array in-place.

        Refer to :func:`cupynumeric.partition` for full documentation.

        See Also
        --------
        cupynumeric.partition : equivalent function

        Availability
        --------
        Multiple GPUs, Single CPU

        
cupynumeric/_array/array.py