Skip to content

Commit c0aa9d4

Browse files
author
Zheyuan Chen
authored
Update README.md
1 parent a5e1e24 commit c0aa9d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ list(stream() << [1,2,3] << range(5))
196196
list((stream() << [1, 1] << (lambda x, y: x + y)) /take/ 10)
197197
# [1, 1, 2, 3, 5, 8, 13, 21, 34, 55]
198198
# This is the first 10 items of an infinite fibonacci stream
199-
# If a function is met, it will infinitely take the last N previous items to generate the next item.
199+
# If a function is met, stream will infinitely take the last N previous items as the input of the lambda to generate the next item.
200200
```
201201

202202
More receipes: https://github.com/czheo/syntax_sugar_python/tree/master/recipes

0 commit comments

Comments
 (0)