MCPcopy Index your code
hub / github.com/numpy/numpy / _unpack_tuple

Function _unpack_tuple

numpy/lib/_arraysetops_impl.py:131–136  ·  view source on GitHub ↗

Unpacks one-element tuples for use as return values

(x)

Source from the content-addressed store, hash-verified

129
130
131def _unpack_tuple(x):
132 """ Unpacks one-element tuples for use as return values """
133 if len(x) == 1:
134 return x[0]
135 else:
136 return x
137
138
139def _unique_dispatcher(ar, return_index=None, return_inverse=None,

Callers 1

uniqueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…