MCPcopy Create free account
hub / github.com/numpy/numpy / _product_dispatcher

Function _product_dispatcher

numpy/core/fromnumeric.py:3823–3829  ·  view source on GitHub ↗
(a, axis=None, dtype=None, out=None, keepdims=None,
                        initial=None, where=None)

Source from the content-addressed store, hash-verified

3821
3822
3823def _product_dispatcher(a, axis=None, dtype=None, out=None, keepdims=None,
3824 initial=None, where=None):
3825 # 2023-03-02, 1.25.0
3826 warnings.warn("`product` is deprecated as of NumPy 1.25.0, and will be "
3827 "removed in NumPy 2.0. Please use `prod` instead.",
3828 DeprecationWarning, stacklevel=3)
3829 return (a, out)
3830
3831
3832@array_function_dispatch(_product_dispatcher, verify=False)

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected