summaryrefslogtreecommitdiff
path: root/decoders/t55xx
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2017-12-17 18:50:25 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2018-03-31 20:44:21 +0200
commitcd8d918846a00847f2e8e15ba1642882c34a1ff3 (patch)
tree38f65383d061d1e17b0eabcb3a9d46eadd457ac5 /decoders/t55xx
parent63bbdb445fc2ade82c15766b419c869a41ed8f38 (diff)
downloadlibsigrokdecode-cd8d918846a00847f2e8e15ba1642882c34a1ff3.tar.gz
libsigrokdecode-cd8d918846a00847f2e8e15ba1642882c34a1ff3.zip
decoder: rephrase .has_channel() argument parse logic
Have the Python C API check the argument type and do the type conversion already. Raise an IndexError exception when the range check fails.
Diffstat (limited to 'decoders/t55xx')
0 files changed, 0 insertions, 0 deletions