bundles / numpy 2.4.3 / numpy / _core / arrayprint / _recursive_guard
function
numpy._core.arrayprint:_recursive_guard
source: /numpy/_core/arrayprint.py :567
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