Skip to content

Commit 06e8a3a

Browse files
committed
Fix formatting in gdb/printing.py
According to black 23, gdb/printing.py was mis-formatted. This patch fixes it.
1 parent a8ea150 commit 06e8a3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gdb/python/lib/gdb/printing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ def __call__(self, val):
271271

272272
class NoOpScalarPrinter:
273273
"""A no-op pretty printer that wraps a scalar value."""
274+
274275
def __init__(self, value):
275276
self.value = value
276277

@@ -280,6 +281,7 @@ def to_string(self):
280281

281282
class NoOpArrayPrinter:
282283
"""A no-op pretty printer that wraps an array value."""
284+
283285
def __init__(self, value):
284286
self.value = value
285287
(low, high) = self.value.type.range()
@@ -302,6 +304,7 @@ def children(self):
302304

303305
class NoOpStructPrinter:
304306
"""A no-op pretty printer that wraps a struct or union value."""
307+
305308
def __init__(self, value):
306309
self.value = value
307310

0 commit comments

Comments
 (0)