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.
This commit is contained in:
Tom Tromey
2023-09-20 10:43:04 -06:00
parent 0f6a699478
commit 4abf53c991

View 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)