bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / _core / arrayprint / _recursive_guard
function
numpy._core.arrayprint:_recursive_guard
source: build-install/usr/lib/python3.14/site-packages/numpy/_core/arrayprint.py :560
Signature
def _recursive_guard ( fillvalue = ... ) Summary
Like the python 3.2 reprlib.recursive_repr, but forwards *args and **kwargs
Extended Summary
Decorates a function such that if it calls itself with the same first argument, it returns fillvalue instead of recursing.
Largely copied from reprlib.recursive_repr
Aliases
-
numpy._core.arrayprint._recursive_guard