summaryrefslogtreecommitdiff
path: root/COPYING.LESSER
diff options
context:
space:
mode:
authorChris Gunn <chrisgun@microsoft.com>2022-05-16 17:56:50 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2022-06-08 16:43:52 +0100
commit30f8123072a8b665abcbd5d49c1ec69accd4f58c (patch)
treea6828f20dca71694ef4588616d1a40aeb3fcc809 /COPYING.LESSER
parentca3731a126da2ed7f2c235f84daf54638e8933a5 (diff)
downloadlibvirt-python-30f8123072a8b665abcbd5d49c1ec69accd4f58c.tar.gz
libvirtaio: convert to using 'async' / 'await' syntax
The 'async' keyword is new in Python 3.5, as a way to declare that a method is a coroutine. This replaces the '@asyncio.coroutine' decorator that is deprecated since 3.8 and scheduled to be removed in 3.11 The 'await' keyword has to be used instead of 'yield' from any coroutines declared with 'async'. Signed-off-by: Chris Gunn <chrisgun@microsoft.com> [DB: Split off from a larger patch mixing multiple changes] Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'COPYING.LESSER')
0 files changed, 0 insertions, 0 deletions