e job.
Best regards,
Helge
*From:* Ivan Wick [mailto:ivanwick+sourceforge@gmail.com]
*Sent:* Monday, November 1, 2021, 8:42 PM
*To:* Helge Kruse
*Cc:* sigrok-devel@lists.sourceforge.net
*Subject:* [sigrok-devel] Acce
The "options" in the Decoder class is a class-level variable, shared by all
instances of the Decoder class (like static in C++ or Java). It is meant to
be an abstract description of the options, it does not store the concrete
values of the options for any one instance.
When you instantiate a Decod
You cannot access a tuple element with a string key. At some point the
options object is of a different class that
defines the indexing operator, or more likely, is actually a dictionary.
On 11/1/2021 12:30 PM, Helge Kruse wrote:
Hello,
I am not an experienced Python programmer. So I’d like
Hello,
I am not an experienced Python programmer. So I'd like to ask some detail to
the syntax I found in sigrok protocol decoders.
I wonder about the syntax or probably syntactic sugar in the libsigrokdecode
library. The sigrok protocol decoder API
(https://www.sigrok.org/wiki/Protocol_decoder_A
4 matches
Mail list logo