diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-12-17 18:50:25 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-03-31 20:44:21 +0200 |
commit | cd8d918846a00847f2e8e15ba1642882c34a1ff3 (patch) | |
tree | 38f65383d061d1e17b0eabcb3a9d46eadd457ac5 /decoders/sdcard_spi/__init__.py | |
parent | 63bbdb445fc2ade82c15766b419c869a41ed8f38 (diff) | |
download | libsigrokdecode-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/sdcard_spi/__init__.py')
0 files changed, 0 insertions, 0 deletions