summaryrefslogtreecommitdiff
path: root/decoders/signature
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2022-12-30 14:30:55 +0100
committerGerhard Sittig <gerhard.sittig@gmx.net>2023-01-09 20:13:35 +0100
commit3851b0c084bc358b134069ba829b7ce1f4c410ff (patch)
tree02ca34e1bda7bffc89c46504cc2b9555ef9e16a9 /decoders/signature
parentc4aaef2588e962d0bd99f7a88841fcf53956da6b (diff)
downloadlibsigrokdecode-3851b0c084bc358b134069ba829b7ce1f4c410ff.tar.gz
libsigrokdecode-3851b0c084bc358b134069ba829b7ce1f4c410ff.zip
adf435x: use .format() for Python string formatting
Rephrase the old style '%' operator string formatting, prefer .format() calls instead. It is assumed that routine call argument lists are more readable than optional/conditional tuples are, and not running format specifiers and literal text into each other helps readability as well, as do the .format() routine's optionally named references to parameters. Avoid text formatting which involves concatenation, always work from one single format instruction instead.
Diffstat (limited to 'decoders/signature')
0 files changed, 0 insertions, 0 deletions