Small doc fix (#2021)
Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
This commit is contained in:
parent
0e8d70457f
commit
cbeebd0190
@ -1299,7 +1299,7 @@ class AsyncCursor(Generic[_DocumentType]):
|
||||
|
||||
>>> await cursor.to_list()
|
||||
|
||||
Or, so read at most n items from the cursor::
|
||||
Or, to read at most n items from the cursor::
|
||||
|
||||
>>> await cursor.to_list(n)
|
||||
|
||||
|
||||
@ -1297,7 +1297,7 @@ class Cursor(Generic[_DocumentType]):
|
||||
|
||||
>>> cursor.to_list()
|
||||
|
||||
Or, so read at most n items from the cursor::
|
||||
Or, to read at most n items from the cursor::
|
||||
|
||||
>>> cursor.to_list(n)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user