summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modules/webrepl.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-09-01 10:10:51 +1000
committerDamien George <damien.p.george@gmail.com>2017-09-01 10:10:51 +1000
commit793d826d9df67c3f544505beda63ca36d8dfa1c4 (patch)
tree7d5fe63db397e3fc7deec311b1f4b268c0d117a5 /esp8266/modules/webrepl.py
parentb349479a49aab440b2f38fc6e45b3df4bf7a1aa7 (diff)
downloadmicropython-793d826d9df67c3f544505beda63ca36d8dfa1c4.tar.gz
micropython-793d826d9df67c3f544505beda63ca36d8dfa1c4.zip
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).
Diffstat (limited to 'esp8266/modules/webrepl.py')
0 files changed, 0 insertions, 0 deletions