Skip to content

Commit ef38b93

Browse files
purdeaandreiwhitequark
authored andcommitted
docs: sim: fix typo async for
1 parent 6e2e87c commit ef38b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amaranth/sim/_async.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ async def testbench(ctx):
105105
combination, usually using the :py:`async for` loop: ::
106106
107107
async def testbench(ctx):
108-
async a_value, b_value in ctx.changed(dut.a, dut.b):
108+
async for a_value, b_value in ctx.changed(dut.a, dut.b):
109109
...
110110
111111
Both one-shot and multi-shot waits return the same :class:`tuple` of return values, the elements

0 commit comments

Comments
 (0)