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

Function _cumproduct_dispatcher

numpy/core/fromnumeric.py:3848–3853  ·  view source on GitHub ↗
(a, axis=None, dtype=None, out=None)

Source from the content-addressed store, hash-verified

3846
3847
3848def _cumproduct_dispatcher(a, axis=None, dtype=None, out=None):
3849 # 2023-03-02, 1.25.0
3850 warnings.warn("`cumproduct` is deprecated as of NumPy 1.25.0, and will be "
3851 "removed in NumPy 2.0. Please use `cumprod` instead.",
3852 DeprecationWarning, stacklevel=3)
3853 return (a, out)
3854
3855
3856@array_function_dispatch(_cumproduct_dispatcher, verify=False)

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected