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

Method __init__

numpy/core/records.py:147–150  ·  view source on GitHub ↗
(self, formats, names, titles, aligned=False, byteorder=None)

Source from the content-addressed store, hash-verified

145 """
146
147 def __init__(self, formats, names, titles, aligned=False, byteorder=None):
148 self._parseFormats(formats, aligned)
149 self._setfieldnames(names, titles)
150 self._createdtype(byteorder)
151
152 def _parseFormats(self, formats, aligned=False):
153 """ Parse the field formats """

Callers

nothing calls this directly

Calls 3

_parseFormatsMethod · 0.95
_setfieldnamesMethod · 0.95
_createdtypeMethod · 0.95

Tested by

no test coverage detected