diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-04-16 21:12:16 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-04-23 23:25:43 +0200 |
commit | aad263bb83593a66d4a834b30acf8e8a2f1b5c4c (patch) | |
tree | 65181123ce6c5b917528ffdc0a00658ed2f61eff /decoders/pwm/__init__.py | |
parent | 3f3c4614b551855d7cf56e83ec7fb883592050ab (diff) | |
download | libsigrokdecode-aad263bb83593a66d4a834b30acf8e8a2f1b5c4c.tar.gz libsigrokdecode-aad263bb83593a66d4a834b30acf8e8a2f1b5c4c.zip |
dcf77, lpc: rephrase bit string formatting
Create the text representation of a bit string by means of the builtin
.format() method and an appropriate specifier. Drop the non-obvious
sequence of bin() and slice and zfill() calls.
Diffstat (limited to 'decoders/pwm/__init__.py')
0 files changed, 0 insertions, 0 deletions