MCPcopy Create free account
hub / github.com/10Ring/LAA-Net / parse

Function parse

register/misc.py:16–19  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

14def _ntuple(n):
15
16 def parse(x):
17 if isinstance(x, collections.abc.Iterable):
18 return x
19 return tuple(repeat(x, n))
20
21 return parse
22

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected