mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-12 14:37:37 -08:00
15 lines
430 B
Diff
15 lines
430 B
Diff
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.
|