Repaired that, and added appropriate tests for it to test_struct.py.
Attach a file by drag & drop or click to upload