Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Trivial doc updates.

  • Loading branch information...
commit ce0345d51472dcc09da55a2226169dd869c202da 1 parent 8b6e930
Bernie Hackett behackett authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 pymongo/collection.py
4 pymongo/collection.py
View
@@ -1315,7 +1315,7 @@ def find_and_modify(self, query={}, update=None,
parameter. If no objects match the `query` and `upsert` is false,
returns ``None``. If upserting and `new` is false, returns ``{}``.
- If the full_response parameter is true, the return value will be
+ If the full_response parameter is ``True``, the return value will be
the entire response object from the server, including the 'ok' and
'lastErrorObject' fields, rather than just the modified object.
This is useful mainly because the 'lastErrorObject' document holds
@@ -1329,7 +1329,7 @@ def find_and_modify(self, query={}, update=None,
order for this query. See :meth:`~pymongo.cursor.Cursor.sort`
for details.
- `full_response`: return the entire response object from the
- server
+ server (default ``False``)
- `remove`: remove rather than updating (default ``False``)
- `new`: return updated rather than original object
(default ``False``)
Please sign in to comment.
Something went wrong with that request. Please try again.