Skip to content

Commit 9c8cd91

Browse files
authored
Update def to class typo in actors docs (#9091)
1 parent 966ec61 commit 9c8cd91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/actors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ will run on the Worker's event loop thread rather than a separate thread.
193193

194194
.. code-block:: python
195195
196-
def Waiter:
196+
class Waiter:
197197
def __init__(self):
198198
self.event = asyncio.Event()
199199

0 commit comments

Comments
 (0)