diff options
author | John Snow | 2021-04-21 21:22:32 +0200 |
---|---|---|
committer | Markus Armbruster | 2021-04-30 12:59:54 +0200 |
commit | 30d0a016e965796b41ac545b3d527f8080292869 (patch) | |
tree | d726262eeb96b5f776c2764fe074d52538e089c2 /hw/intc/ompic.c | |
parent | qapi/error.py: enable pylint checks (diff) | |
download | qemu-30d0a016e965796b41ac545b3d527f8080292869.tar.gz qemu-30d0a016e965796b41ac545b3d527f8080292869.tar.xz qemu-30d0a016e965796b41ac545b3d527f8080292869.zip |
qapi/error: Add type hints
No functional change.
Note: QAPISourceError's info parameter is Optional[] because schema.py
treats the info property of its various classes as Optional to
accommodate built-in types, which have no source. See prior commit
'qapi/error: assert QAPISourceInfo is not None'.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210421192233.3542904-8-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/intc/ompic.c')
0 files changed, 0 insertions, 0 deletions