MCPcopy Create free account
hub / github.com/Apress/python-for-matlab-development / nested_dict

Function nested_dict

code/matlab_py/test_p2m.py:12–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 return { 'a' : 12, 'b' : "three", 'c' : 4.4,
11 'd' : datetime(2022, 3, 1, 12, 13, 14, 654321) }
12def nested_dict():
13 return { 'a' : a_tuple(),
14 'b' : a_list(),
15 'c' : a_dict() }
16def i32_array():
17 return np.reshape(np.arange(-12.5, 12.5, 2.1,dtype=np.int32),(3,4))
18def i64_array():

Callers

nothing calls this directly

Calls 3

a_tupleFunction · 0.85
a_listFunction · 0.85
a_dictFunction · 0.85

Tested by

no test coverage detected