Small doc fix (#2021)

Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
This commit is contained in:
theRealProHacker 2024-12-02 17:54:56 +01:00 committed by GitHub
parent 0e8d70457f
commit cbeebd0190
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)