diff options
Diffstat (limited to 'dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch')
| -rw-r--r-- | dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch b/dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch new file mode 100644 index 000000000000..1f516c79acb2 --- /dev/null +++ b/dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch @@ -0,0 +1,14 @@ +diff --git a/evdev/eventio_async.py b/evdev/eventio_async.py +index 77542a4..68225c3 100644 +--- a/evdev/eventio_async.py ++++ b/evdev/eventio_async.py +@@ -85,8 +85,7 @@ class ReadIterator(object): + def __aiter__(self): + return self + +- @asyncio.coroutine +- def __anext__(self): ++ async def __anext__(self): + future = asyncio.Future() + try: + # Read from the previous batch of events. |
