MCPcopy Index your code
hub / github.com/pydata/xarray / _is_nested_tuple

Function _is_nested_tuple

xarray/core/indexes.py:611–614  ·  view source on GitHub ↗
(possible_tuple)

Source from the content-addressed store, hash-verified

609
610
611def _is_nested_tuple(possible_tuple):
612 return isinstance(possible_tuple, tuple) and any(
613 isinstance(value, tuple | list | slice) for value in possible_tuple
614 )
615
616
617def normalize_label(value, dtype=None) -> np.ndarray:

Callers 1

selMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…