Skip to content

Commit 8a8700a

Browse files
committed
Fix typo in readme
1 parent 87a7cfe commit 8a8700a

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
@@ -157,7 +157,7 @@ Stream.odds().limit(100).toSet()
157157

158158
* Generate a list of all the primes number smaller than 100
159159
```py
160-
Stream.primes().filter(lambda x: x < 100).toList()
160+
Stream.primes().takeWhile(lambda x: x < 100).toList()
161161
```
162162

163163

0 commit comments

Comments
 (0)