Re: [PATCH v3 34/63] qapi/schema: add __repr__ to QAPIDoc.Section

2025-03-11 Thread Markus Armbruster
John Snow writes: > Makes debugging far more pleasant when you can just print(section) and > get something reasonable to display. > > Signed-off-by: John Snow > --- > scripts/qapi/parser.py | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/scripts/qapi/parser.py b/scripts/qapi/parser.

[PATCH v3 34/63] qapi/schema: add __repr__ to QAPIDoc.Section

2025-03-10 Thread John Snow
Makes debugging far more pleasant when you can just print(section) and get something reasonable to display. Signed-off-by: John Snow --- scripts/qapi/parser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/qapi/parser.py b/scripts/qapi/parser.py index 94d5322f8af..11c11bb09e5 10