]> sigrok.org Git - libsigrokdecode.git/commitdiff
adf435x: use .format() for Python string formatting
authorGerhard Sittig <redacted>
Fri, 30 Dec 2022 13:30:55 +0000 (14:30 +0100)
committerGerhard Sittig <redacted>
Mon, 9 Jan 2023 19:13:35 +0000 (20:13 +0100)
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.


No differences found