This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5edce4539b
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 04:29:21 +00: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 01:10:51 +01:00
b'\x01\x00\x00\x00\x00\x00\x00\x00'