Skip to content

Commit 7dcf8bd

Browse files
committed
fix docstring
1 parent 74b338b commit 7dcf8bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymongo/asynchronous/encryption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ async def collection_info(self, database: str, filter: bytes) -> Optional[list[b
251251
:param database: The database on which to run listCollections.
252252
:param filter: The filter to pass to listCollections.
253253
254-
:return: The all documents from the listCollections command response as BSON.
254+
:return: All documents from the listCollections command response as BSON.
255255
"""
256256
async with await self.client_ref()[database].list_collections(
257257
filter=RawBSONDocument(filter)

pymongo/synchronous/encryption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def collection_info(self, database: str, filter: bytes) -> Optional[list[bytes]]
250250
:param database: The database on which to run listCollections.
251251
:param filter: The filter to pass to listCollections.
252252
253-
:return: The all documents from the listCollections command response as BSON.
253+
:return: All documents from the listCollections command response as BSON.
254254
"""
255255
with self.client_ref()[database].list_collections(filter=RawBSONDocument(filter)) as cursor:
256256
return [_dict_to_bson(doc, False, _DATA_KEY_OPTS) for doc in cursor]

0 commit comments

Comments
 (0)