data-apis/python-record-api

Fix ufunc call

saulshanabrook opened this issue · 0 comments

This doesn't look right, the real function doesn't include one of the overloads:

class ufunc:
    @overload
    def __call__(self, _0: numpy.ndarray, _1: numpy.ndarray, /):
        """
        usage.sample-usage: 1
        """
        ...

    @overload
    def __call__(self, _0: numpy.ndarray, /):
        """
        usage.sample-usage: 2
        """
        ...

    def __call__(self, _0: numpy.ndarray, /):
        """
        usage.sample-usage: 3
        """