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

Function _stack_dispatcher

numpy/core/shape_base.py:362–369  ·  view source on GitHub ↗
(arrays, axis=None, out=None, *,
                      dtype=None, casting=None)

Source from the content-addressed store, hash-verified

360
361
362def _stack_dispatcher(arrays, axis=None, out=None, *,
363 dtype=None, casting=None):
364 arrays = _arrays_for_stack_dispatcher(arrays)
365 if out is not None:
366 # optimize for the typical case where only arrays is provided
367 arrays = list(arrays)
368 arrays.append(out)
369 return arrays
370
371
372@array_function_dispatch(_stack_dispatcher)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected