]> sigrok.org Git - libsigrok.git/commit
bindings/python: Add __repr__() to 'ChannelGroup' class master github/master
authorMarc Schink <redacted>
Fri, 29 Mar 2024 12:41:45 +0000 (13:41 +0100)
committerSoeren Apel <redacted>
Thu, 20 Nov 2025 18:01:53 +0000 (19:01 +0100)
commit0bc2487778e660f4d3116729b6f4aee2b1996bb0
tree3439c6a4c49b9bd06ac7d23ccc419ad6c3e7c735
parent6b0093a43998e2f0aead87313f77dad75aa524ca
bindings/python: Add __repr__() to 'ChannelGroup' class

The following lines show the class string representation before and
after this patch:

<sigrok.core.classes.ChannelGroup; proxy of <Swig Object of type 'std::shared_ptr< sigrok::ChannelGroup > *' at 0x7fdf4b29f660> >
ChannelGroup (name='A0', channels=(Channel (type=ChannelType.ANALOG, name='A0', index=8, enabled=True),))

Signed-off-by: Marc Schink <redacted>
bindings/python/sigrok/core/classes.i