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

Function _reconstruct

numpy/core/_internal.py:9–11  ·  view source on GitHub ↗
(subtype, shape, dtype)

Source from the content-addressed store, hash-verified

7# so don't remove the name here, or you'll
8# break backward compatibility.
9def _reconstruct(subtype, shape, dtype):
10 from numpy import ndarray
11 return ndarray.__new__(subtype, shape, dtype)
12
13
14# Pybind11 (in versions <= 2.11.1) imports _dtype_from_pep3118 from the

Callers

nothing calls this directly

Calls 1

__new__Method · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…