diff --git a/pymongo/collection.py b/pymongo/collection.py index f382628aa8..9ab56dd41c 100644 --- a/pymongo/collection.py +++ b/pymongo/collection.py @@ -246,7 +246,7 @@ def _command( :Parameters: - `sock_info` - A SocketInfo instance. - - `command` - The command itself, as a SON instance. + - `command` - The command itself, as a :class:`~bson.son.SON` instance. - `codec_options` (optional) - An instance of :class:`~bson.codec_options.CodecOptions`. - `check`: raise OperationFailure if there are errors @@ -1443,7 +1443,7 @@ def find(self, *args: Any, **kwargs: Any) -> Cursor[_DocumentType]: this :class:`Collection`. :Parameters: - - `filter` (optional): a SON object specifying elements which + - `filter` (optional): a :class:`~bson.son.SON` object specifying elements which must be present for a document to be included in the result set - `projection` (optional): a list of field names that should be