hyb
2026-01-30 44480e71b27aa9d4cb8441f50c873f1b110e9691
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Ë
KñúhªãóJ—dZddlmcmZddlmZddlm    Z
d„Z d„Z d„Z d„Zy)    zNTools for testing implementations of __array_function__ and ufunc overrides
 
 
éN)Úufunc)ÚARRAY_FUNCTIONScó†—tjj«Dchc]}t|t«r|’Œ}}|Scc}w)zÎList all numpy ufuncs overridable via `__array_ufunc__`
 
    Parameters
    ----------
    None
 
    Returns
    -------
    set
        A set containing all overridable ufuncs in the public numpy API.
    )Ú_umathÚ__dict__ÚvaluesÚ
isinstanceÚ_ufunc)ÚobjÚufuncss  úJH:\Change_password\venv_build\Lib\site-packages\numpy/testing/overrides.pyÚget_overridable_numpy_ufuncsr sA€ô$Ÿ_™_×3Ñ3Ó5ö*cܘC¤Ô(òð*€Fð*à €Mùò*s¡>có"—t|t«S)aÎDetermine if a function can be overridden via `__array_ufunc__`
 
    Parameters
    ----------
    func : callable
        Function that may be overridable via `__array_ufunc__`
 
    Returns
    -------
    bool
        `True` if `func` is overridable via `__array_ufunc__` and
        `False` otherwise.
 
    Notes
    -----
    This function is equivalent to ``isinstance(func, np.ufunc)`` and
    will work correctly for ufuncs defined outside of Numpy.
 
    )r    r
©Úfuncs r Úallows_array_ufunc_overriders€ô( dœFÓ #Ð#ócó6—ddlm}tj«S)aList all numpy functions overridable via `__array_function__`
 
    Parameters
    ----------
    None
 
    Returns
    -------
    set
        A set containing all functions in the public numpy API that are
        overridable via `__array_function__`.
 
    r©Ú recfunctions)Ú    numpy.librÚ_array_functionsÚcopyrs r Ú%get_overridable_numpy_array_functionsr3s€õ 'Ü ×  Ñ  Ó "Ð"rcó—|tvS)ahDetermine if a Numpy function can be overridden via `__array_function__`
 
    Parameters
    ----------
    func : callable
        Function that may be overridable via `__array_function__`
 
    Returns
    -------
    bool
        `True` if `func` is a function in the Numpy API that is
        overridable via `__array_function__` and `False` otherwise.
    )rrs r Úallows_array_function_overriderFs€ð Ô#Ð #Ð#r)Ú__doc__Únumpy._core.umathÚ_coreÚumathrÚnumpyrr
Únumpy._core.overridesrrrrrr©rr ú<module>r$s,ðñ÷
#Ð"Ý!ÝEòò"$ò.#ó&$r