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

Method __init__

numpy/core/_exceptions.py:119–121  ·  view source on GitHub ↗
(self, shape, dtype)

Source from the content-addressed store, hash-verified

117class _ArrayMemoryError(MemoryError):
118 """ Thrown when an array cannot be allocated"""
119 def __init__(self, shape, dtype):
120 self.shape = shape
121 self.dtype = dtype
122
123 @property
124 def _total_size(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected