MCPcopy Index your code
hub / github.com/python/cpython / all_nan

Function all_nan

Modules/_decimal/tests/deccheck.py:668–673  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

666# ======================================================================
667
668def all_nan(a):
669 if isinstance(a, C.Decimal):
670 return a.is_nan()
671 elif isinstance(a, tuple):
672 return all(all_nan(v) for v in a)
673 return False
674
675def convert(t, convstr=True):
676 """ t is the testset. At this stage the testset contains a tuple of

Callers 1

verifyFunction · 0.85

Calls 1

is_nanMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…