<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"""
Test that all docstrings are the same:

&gt;&gt;&gt; len({f.__doc__ for f in (a, b, c, d)})
1
"""
from numba import guvectorize, int64, njit, vectorize


def a():
    """&gt;&gt;&gt; x = 1"""
    return 1


@njit
def b():
    """&gt;&gt;&gt; x = 1"""
    return 1


@guvectorize([(int64[:], int64, int64[:])], "(n),()-&gt;(n)")
def c(x, y, res):
    """&gt;&gt;&gt; x = 1"""
    for i in range(x.shape[0]):
        res[i] = x[i] + y


@vectorize([int64(int64, int64)])
def d(x, y):
    """&gt;&gt;&gt; x = 1"""
    return x + y
</pre></body></html>