Skip to content

Commit 0b310dd

Browse files
Removed unnecessary comment
1 parent ecc889a commit 0b310dd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

elasticsearch_dsl/search_base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,6 @@ def __getitem__(self, n):
360360
raise ValueError("Search does not support negative indexing.")
361361
slice_start = n
362362
slice_stop = n + 1
363-
# Elasticsearch won't get all results so we default to size: 10 if
364-
# stop not given.
365363
old_from = s._extra.get("from", 0)
366364
if "size" in s._extra:
367365
old_to = old_from + s._extra["size"]

0 commit comments

Comments
 (0)