class ndarray(object):
    def diagonal(self, offset=0, axis1=0, axis2=1):
        """
        a.diagonal(offset=0, axis1=0, axis2=1)

            Return specified diagonals.

            Refer to `numpy.diagonal` for full documentation.

            See Also
            --------
            numpy.diagonal : equivalent function
        """
        pass
