Skip to content

Commit c6907bd

Browse files
committed
PYTHON-1086 - Fix find_one documentation
1 parent ecbbb8a commit c6907bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/pymongo/collection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
.. automethod:: delete_many
4646
.. automethod:: aggregate
4747
.. automethod:: find(filter=None, projection=None, skip=0, limit=0, no_cursor_timeout=False, cursor_type=CursorType.NON_TAILABLE, sort=None, allow_partial_results=False, oplog_replay=False, modifiers=None, manipulate=True)
48-
.. automethod:: find_one(filter_or_id=None, *args, **kwargs)
48+
.. automethod:: find_one(filter=None, *args, **kwargs)
4949
.. automethod:: find_one_and_delete
5050
.. automethod:: find_one_and_replace(filter, replacement, projection=None, sort=None, return_document=ReturnDocument.BEFORE, **kwargs)
5151
.. automethod:: find_one_and_update(filter, update, projection=None, sort=None, return_document=ReturnDocument.BEFORE, **kwargs)

0 commit comments

Comments
 (0)