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

Function _round__dispatcher

numpy/core/fromnumeric.py:3796–3801  ·  view source on GitHub ↗
(a, decimals=None, out=None)

Source from the content-addressed store, hash-verified

3794
3795
3796def _round__dispatcher(a, decimals=None, out=None):
3797 # 2023-02-28, 1.25.0
3798 warnings.warn("`round_` is deprecated as of NumPy 1.25.0, and will be "
3799 "removed in NumPy 2.0. Please use `round` instead.",
3800 DeprecationWarning, stacklevel=3)
3801 return (a, out)
3802
3803
3804@array_function_dispatch(_round__dispatcher)

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected