aboutsummaryrefslogtreecommitdiffstats
path: root/coin_build_instructions.py
diff options
context:
space:
mode:
authorBoxiang Sun <daetalusun@gmail.com>2018-06-08 07:34:47 +0800
committerBoxiang Sun <daetalusun@gmail.com>2018-07-02 13:47:21 +0000
commitd16894f9bf9a2dfea1204469bf818a2ca7aeaa38 (patch)
tree52bb92ab05ac863eb05585cf4479be9236464b34 /coin_build_instructions.py
parentf70ecd23821c41b5c689cdb52d58af767ad45f97 (diff)
Implement proper slice assignment for QByteArray
Index assignment now only accept str/bytes, bytearray, QByteArray with size 1; Slice assignment only accept str/bytes, bytearray, QByteArray with limitation, that is if the step is not 1, then the number slots and the size of the target value must be equal. Range delete: a[2:5] = None Shrink: value length smaller than the slot length of the slice Expanse: value length bigger than the slot length of the slice Range assignment with step: a[2:5:1] = ... Range assignment with step which bigger than 1: a[2:9:2] = ... Range assignment with native step: a[5:2:-1] Change-Id: Ib9b929d09a691ed18c91e0c1c6b5dde827bf8d42 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'coin_build_instructions.py')
0 files changed, 0 insertions, 0 deletions