MCPcopy Create free account
hub / github.com/numpy/numpy / _unpack_tuple

Function _unpack_tuple

numpy/core/_exceptions.py:10–14  ·  view source on GitHub ↗
(tup)

Source from the content-addressed store, hash-verified

8from .._utils import set_module
9
10def _unpack_tuple(tup):
11 if len(tup) == 1:
12 return tup[0]
13 else:
14 return tup
15
16
17def _display_as_base(cls):

Callers 1

__str__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected