From 4abf53c99115dad84720be64432ab4bd933b9df7 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 20 Sep 2023 10:43:04 -0600 Subject: [PATCH] Run 'black' on printing.py 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/python/lib/gdb/printing.py b/gdb/python/lib/gdb/printing.py index 223a69929d2..c9af56648c7 100644 --- a/gdb/python/lib/gdb/printing.py +++ b/gdb/python/lib/gdb/printing.py @@ -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) -- 2.30.2