Skip to content

Commit 689b182

Browse files
authored
01x_lazy: typo in delayed execution (#193)
In part 3, delayed execution, the generator said 'yield y' when it should have said 'yield res'.
1 parent 8486c94 commit 689b182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01x_lazy.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529
" res = x\n",
530530
" yield res\n",
531531
" res += y\n",
532-
" yield y\n",
532+
" yield res\n",
533533
"\n",
534534
"g = gen()"
535535
]

0 commit comments

Comments
 (0)