summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorMarkus Armbruster2021-08-31 14:37:59 +0200
committerMarkus Armbruster2021-09-03 17:09:10 +0200
commite46c930cdd68a3911ec16bd89379891c5473dd06 (patch)
treea42c5dc0963cac8abae4501f9208e9eaf3dc8c42 /scripts/qapi/types.py
parentqapi: Simplify QAPISchemaIfCond's interface for generating C (diff)
downloadqemu-e46c930cdd68a3911ec16bd89379891c5473dd06.tar.gz
qemu-e46c930cdd68a3911ec16bd89379891c5473dd06.tar.xz
qemu-e46c930cdd68a3911ec16bd89379891c5473dd06.zip
qapi: Simplify how QAPISchemaIfCond represents "no condition"
None works fine, there is no need to replace it by {} in .__init__(). Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210831123809.1107782-3-armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions