MCPcopy Create free account
hub / github.com/Fadi002/de4py / parse_list

Method parse_list

de4py/engines/onyx/string_decoder.py:384–386  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

382 def d1(m):
383 try:
384 def parse_list(s):
385 # Handle hex literals like 0xde
386 return [int(x.strip(), 0) for x in s.split(',') if x.strip()]
387 arr1 = parse_list(m.group(1))
388 arr2_raw = m.group(2)
389 arr2 = parse_list(arr2_raw)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected