diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-08-24 11:38:47 +0300 |
---|---|---|
committer | Hanna Reitz <hreitz@redhat.com> | 2021-09-01 14:03:47 +0200 |
commit | 15c3b863ee6393fa326c142b725cff88bb3e719e (patch) | |
tree | 0a955c26e8d739049e8656067d320518595773d3 /tests/qemu-iotests/297 | |
parent | 3f3c9b4c9dcb462b2330e50cf81b9703288884ec (diff) | |
download | qemu-15c3b863ee6393fa326c142b725cff88bb3e719e.zip qemu-15c3b863ee6393fa326c142b725cff88bb3e719e.tar.gz qemu-15c3b863ee6393fa326c142b725cff88bb3e719e.tar.bz2 |
python:QEMUMachine: template typing for self returning methods
mypy thinks that return value of these methods in subclusses is
QEMUMachine, which is wrong. So, make typing smarter.
Suggested-by: John Snow <jsnow@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210824083856.17408-26-vsementsov@virtuozzo.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/297')
0 files changed, 0 insertions, 0 deletions