This website requires JavaScript.
Explore
Help
Sign In
jebbatime
/
micropython
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
jebbatime
micropython
/
tests
/
basics
/
struct_micropython.py.exp
3 lines
41 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
tests/basics: Add tests to improve coverage of binary.c.
2016-12-27 21:29:21 -07:00
True
py/modstruct: In struct.pack, stop converting if there are no args left. This patch makes a repeat counter behave the same as repeating the typecode, when there are not enough args. For example: struct.pack('2I', 1) now behave the same as struct.pack('II', 1).
2017-08-31 18:10:51 -06:00
b'\x01\x00\x00\x00\x00\x00\x00\x00'