On 24.08.21 10:38, Vladimir Sementsov-Ogievskiy wrote:
mypy thinks that return value of these methods in subclusses is
QEMUMachine, which is wrong. So, make typing smarter.

Suggested-by: John Snow <[email protected]>
Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
---
  python/qemu/machine/machine.py | 10 +++++++---
  1 file changed, 7 insertions(+), 3 deletions(-)

Reviewed-by: Hanna Reitz <[email protected]>


Reply via email to