From c6907bd40dfead91c6bfcd4767e48d75173e4120 Mon Sep 17 00:00:00 2001 From: Bernie Hackett Date: Wed, 18 May 2016 14:57:30 -0700 Subject: [PATCH] PYTHON-1086 - Fix find_one documentation --- doc/api/pymongo/collection.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/pymongo/collection.rst b/doc/api/pymongo/collection.rst index bf53a7bfa..b40e341d2 100644 --- a/doc/api/pymongo/collection.rst +++ b/doc/api/pymongo/collection.rst @@ -45,7 +45,7 @@ .. automethod:: delete_many .. automethod:: aggregate .. 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) - .. automethod:: find_one(filter_or_id=None, *args, **kwargs) + .. automethod:: find_one(filter=None, *args, **kwargs) .. automethod:: find_one_and_delete .. automethod:: find_one_and_replace(filter, replacement, projection=None, sort=None, return_document=ReturnDocument.BEFORE, **kwargs) .. automethod:: find_one_and_update(filter, update, projection=None, sort=None, return_document=ReturnDocument.BEFORE, **kwargs)