]> sigrok.org Git - libsigrokdecode.git/commit - type_decoder.c
type_decoder: move Python doc strings to method implementations
authorGerhard Sittig <redacted>
Sat, 25 Dec 2021 18:43:48 +0000 (19:43 +0100)
committerGerhard Sittig <redacted>
Sun, 26 Dec 2021 12:45:09 +0000 (13:45 +0100)
commite4bea07dd4e58b1b1becdcc5df6aa6fe33205c65
tree51a9e0ad2b13ac6e0861dc6f6d05e206781117ea
parent3db0d9750d6947080ae1cfe4ba1108a1687cf24f
type_decoder: move Python doc strings to method implementations

Move Python doc strings to the location where methods and classes get
implemented. This improves awareness during maintenance, and allows for
longer text phrases without obfuscating the registration code path.

This commit does not alter the content of existing doc strings, only
moves their location. And keeps related items together when long decls
span multiple text lines (function name and arguments list, args and
kw args), to improve/keep readability.
type_decoder.c