This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
Watch
1
Star
0
Fork
0
You've already forked micropython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
40ad8f1666
micropython
/
tests
/
basics
/
struct_micropython.py.exp
3 lines
41 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests/basics: Add tests to improve coverage of binary.c.
2016-12-28 07:29:21 +03: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-09-01 03:10:51 +03:00
b'\x01\x00\x00\x00\x00\x00\x00\x00'
Reference in New Issue
Copy Permalink