{ } Raw JSON

bundles / numpy 2.4.4 / numpy / testing / _private / utils / _assert_valid_refcount

function

numpy.testing._private.utils:_assert_valid_refcount

source: /numpy/testing/_private/utils.py :1637

Signature

def   _assert_valid_refcount ( op )

Summary

Check that ufuncs don't mishandle refcount of object 1. Used in a few regression tests.

Aliases

  • numpy.testing._assert_valid_refcount