MCPcopy Create free account
hub / github.com/DragonisCV/RAM / parse

Function parse

ram/archs/arch_util.py:301–304  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

299def _ntuple(n):
300
301 def parse(x):
302 if isinstance(x, collections.abc.Iterable):
303 return x
304 return tuple(repeat(x, n))
305
306 return parse
307

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected