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

Method __init__

numpy/lib/arrayterator.py:84–90  ·  view source on GitHub ↗
(self, var, buf_size=None)

Source from the content-addressed store, hash-verified

82 """
83
84 def __init__(self, var, buf_size=None):
85 self.var = var
86 self.buf_size = buf_size
87
88 self.start = [0 for dim in var.shape]
89 self.stop = [dim for dim in var.shape]
90 self.step = [1 for dim in var.shape]
91
92 def __getattr__(self, attr):
93 return getattr(self.var, attr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected