diff options
author | John Snow <jsnow@redhat.com> | 2021-05-19 14:39:45 -0400 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-05-20 11:28:28 +0200 |
commit | e0e8a0ac2e60fdebd7ff0f831250c849f22af35d (patch) | |
tree | cbef79eb5614dd8603ef78f0f7f64c6c52c74649 /plugins | |
parent | 43b1be65f07c57ef2a4a6012e263677cf812c7e1 (diff) | |
download | qemu-e0e8a0ac2e60fdebd7ff0f831250c849f22af35d.zip qemu-e0e8a0ac2e60fdebd7ff0f831250c849f22af35d.tar.gz qemu-e0e8a0ac2e60fdebd7ff0f831250c849f22af35d.tar.bz2 |
qapi: add must_match helper
Mypy cannot generally understand that these regex functions cannot
possibly fail. Add a "must_match" helper that makes this clear for
mypy.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210519183951.3946870-10-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions