This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
de8c04317b
circuitpython
/
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-27 23:29:21 -05: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 20:10:51 -04:00
b'\x01\x00\x00\x00\x00\x00\x00\x00'
Reference in New Issue
Copy Permalink