modstruct: Rename module to "ustruct", to allow full Python-level impl.

This commit is contained in:
Paul Sokolovsky
2015-05-04 16:35:40 +03:00
parent 1829d86ef5
commit 3d3ef36e97
9 changed files with 24 additions and 10 deletions

View File

@@ -1,6 +1,9 @@
# test struct package with floats
import struct
try:
import ustruct as struct
except:
import struct
i = 1. + 1/2
# TODO: it looks like '=' format modifier is not yet supported