aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-09-20 10:43:04 -0600
committerTom Tromey <tromey@adacore.com>2023-09-20 10:43:04 -0600
commit4abf53c99115dad84720be64432ab4bd933b9df7 (patch)
tree60f0a9c4ec6cf79d64e7b8c8f7e49dc27772d977
parent0f6a69947891fc448c37e944d6c3e266621d35a8 (diff)
downloadgdb-4abf53c99115dad84720be64432ab4bd933b9df7.zip
gdb-4abf53c99115dad84720be64432ab4bd933b9df7.tar.gz
gdb-4abf53c99115dad84720be64432ab4bd933b9df7.tar.bz2
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.
-rw-r--r--gdb/python/lib/gdb/printing.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/python/lib/gdb/printing.py b/gdb/python/lib/gdb/printing.py
index 223a699..c9af566 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)