diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-12-15 20:26:35 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-12-15 20:30:45 -0500 |
commit | a547eaf18c2b87e4f1c9a01efc22b8e74ca05e00 (patch) | |
tree | 7c05aca61cd3a5f83a22bd3cdcadd70aacbf60f4 /gdb/gdb-gdb.py.in | |
parent | da72876cc5dac594115d684c0a5a570d378f0f5f (diff) | |
download | gdb-a547eaf18c2b87e4f1c9a01efc22b8e74ca05e00.zip gdb-a547eaf18c2b87e4f1c9a01efc22b8e74ca05e00.tar.gz gdb-a547eaf18c2b87e4f1c9a01efc22b8e74ca05e00.tar.bz2 |
gdb: re-format with black 21.9b0
Run black 21.9b0 on gdb/ (this is the version currently mentioned on the
wiki [1], the subsequent commit will bump that version).
[1] https://sourceware.org/gdb/wiki/Internals%20GDB-Python-Coding-Standards
Change-Id: I5ceaab42c42428e053e2572df172aa42a88f0f86
Diffstat (limited to 'gdb/gdb-gdb.py.in')
-rw-r--r-- | gdb/gdb-gdb.py.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/gdb-gdb.py.in b/gdb/gdb-gdb.py.in index a60ad01..ae67f81 100644 --- a/gdb/gdb-gdb.py.in +++ b/gdb/gdb-gdb.py.in @@ -242,9 +242,10 @@ class StructMainTypePrettyPrinter: " _mp_num and _mp_den fields if needed)" ) elif type_specific_kind == "TYPE_SPECIFIC_INT": - img = ("int_stuff = { bit_size = %d, bit_offset = %d }" - % (type_specific["int_stuff"]["bit_size"], - type_specific["int_stuff"]["bit_offset"])) + img = "int_stuff = { bit_size = %d, bit_offset = %d }" % ( + type_specific["int_stuff"]["bit_size"], + type_specific["int_stuff"]["bit_offset"], + ) else: img = ( "type_specific = ??? (unknown type_specific_kind: %s)" |