summaryrefslogtreecommitdiffstats
path: root/python/qemu/accel.py
diff options
context:
space:
mode:
authorJohn Snow2020-05-14 07:53:43 +0200
committerPhilippe Mathieu-Daudé2020-05-31 18:25:31 +0200
commit0add048fbd9992151e4c592977df9cff8558ca60 (patch)
treeb698f92d82a4c748dda9b917d3ba35317ca2cf04 /python/qemu/accel.py
parentpython/qemu: remove Python2 style super() calls (diff)
downloadqemu-0add048fbd9992151e4c592977df9cff8558ca60.tar.gz
qemu-0add048fbd9992151e4c592977df9cff8558ca60.tar.xz
qemu-0add048fbd9992151e4c592977df9cff8558ca60.zip
python/qemu: fix socket.makefile() typing
Note: A bug in typeshed (https://github.com/python/typeshed/issues/3977) misinterprets the type of makefile(). Work around this by explicitly stating that we are opening a text-mode file. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200514055403.18902-13-jsnow@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'python/qemu/accel.py')
0 files changed, 0 insertions, 0 deletions