Skip to content

Commit 3f14e51

Browse files
committed
Docs: copy/paste typo
1 parent aae8019 commit 3f14e51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scrapinghub/client/items.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Items(_ItemsResourceProxy, _DownloadableProxyMixin):
1111
:attr:`~scrapinghub.client.jobs.Job.items` attribute.
1212
1313
Please note that :meth:`list` method can use a lot of memory and for
14-
a large amount of logs it's recommended to iterate through it via
14+
a large number of items it's recommended to iterate through them via
1515
:meth:`iter` method (all params and available filters are same for
1616
both methods).
1717
@@ -24,8 +24,8 @@ class Items(_ItemsResourceProxy, _DownloadableProxyMixin):
2424
2525
- iterate through first 100 items and print them::
2626
27-
>>> for log in job.logs.iter(count=100):
28-
... print(log)
27+
>>> for item in job.items.iter(count=100):
28+
... print(item)
2929
3030
- retrieve items with timestamp greater or equal to given timestamp
3131
(item here is an arbitrary dictionary depending on your code)::

0 commit comments

Comments
 (0)