Run 'black' on printing.py
authorTom Tromey <tromey@adacore.com>
Wed, 20 Sep 2023 16:43:04 +0000 (10:43 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 20 Sep 2023 16:43:04 +0000 (10:43 -0600)
The buildbot pointed out that I neglected to re-run 'black' after
making some changes.  This patch fixes the oversight.

gdb/python/lib/gdb/printing.py

index 223a69929d25b00c41bb7a769b532ca0a557dc3a..c9af56648c735c337877a9b6cb3f8268d20579ef 100644 (file)
@@ -368,7 +368,11 @@ def make_visualizer(value):
             result = gdb.printing.NoOpArrayPrinter(ty, value)
         elif ty.code in (gdb.TYPE_CODE_STRUCT, gdb.TYPE_CODE_UNION):
             result = gdb.printing.NoOpStructPrinter(ty, value)
-        elif ty.code in (gdb.TYPE_CODE_PTR, gdb.TYPE_CODE_REF, gdb.TYPE_CODE_RVALUE_REF):
+        elif ty.code in (
+            gdb.TYPE_CODE_PTR,
+            gdb.TYPE_CODE_REF,
+            gdb.TYPE_CODE_RVALUE_REF,
+        ):
             result = NoOpPointerReferencePrinter(value)
         else:
             result = gdb.printing.NoOpScalarPrinter(value)