Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/qapi/introspect.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/scripts/qapi/introspect.py b/scripts/qapi/introspect.py
index eb5d34cdb42..3e59caf7d4d 100644
--- a/scripts/qapi/introspect.py
+++ b/scripts/qapi/introspect.py
@@ -97,6 +97,13 @@ def __init__(self, value: _NodeT, ifcond: Iterable[str],
def _tree_to_qlit(obj: TreeValue,
level: int = 0,
suppress_first_indent: bool = False) -> str:
+ """
+ Convert the type tree into a QLIT C string, recursively.
+
+ :param obj: The value to convert.
+ :param level: The indentation level for this particular value.
+ :param suppress_first_indent: True for dict value children.
+ """
def indent(level: int) -> str:
return level * 4 * ' '
--
2.29.2