This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / _core / function_base / _needs_add_docstring

function

numpy._core.function_base:_needs_add_docstring

source: build-install/usr/lib/python3.14/site-packages/numpy/_core/function_base.py :456

Signature

def   _needs_add_docstring ( obj )

Summary

Returns true if the only way to set the docstring of obj from python is via add_docstring.

Extended Summary

This function errs on the side of being overly conservative.

Aliases

  • numpy._core.function_base._needs_add_docstring