MCPcopy Index your code
hub / github.com/LabPy/lantz / __init__

Method __init__

lantz/foreign.py:153–158  ·  view source on GitHub ↗
(self, type, length=1)

Source from the content-addressed store, hash-verified

151class RetTuple(object):
152
153 def __init__(self, type, length=1):
154 try:
155 self.buffer = (TYPES[type] * length)()
156 except KeyError:
157 raise KeyError('The type {} is not defined ()'.format(type, TYPES.keys()))
158 self.length = length
159
160 def __iter__(self):
161 yield self

Callers

nothing calls this directly

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected