mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 01:20:23 +08:00
793d826d9d
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).
3 lines
41 B
Plaintext
3 lines
41 B
Plaintext
True
|
|
b'\x01\x00\x00\x00\x00\x00\x00\x00'
|