Skip to content

Commit

Permalink
fix docstring of streamer: max_items -> max_iter
Browse files Browse the repository at this point in the history
  • Loading branch information
faroit committed Dec 10, 2020
1 parent dff2c75 commit dcb52aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pescador/core.py
Expand Up @@ -49,9 +49,9 @@ class Streamer(object):
... print(i) # Displays 0, 1, 2, 3, 4
Or with a maximum number of items
Or with a maximum number of examples
>>> for i in stream(max_items=3):
>>> for i in stream(max_iter=3):
... print(i) # Displays 0, 1, 2
Expand Down

0 comments on commit dcb52aa

Please sign in to comment.