Skip to content

Commit 0a5eae7

Browse files
Small doc fix
1 parent 0e8d704 commit 0a5eae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/synchronous/cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ def to_list(self, length: Optional[int] = None) -> list[_DocumentType]:
12971297
12981298
>>> cursor.to_list()
12991299
1300-
Or, so read at most n items from the cursor::
1300+
Or, to read at most n items from the cursor::
13011301
13021302
>>> cursor.to_list(n)
13031303

0 commit comments

Comments
 (0)