Skip to content

Commit ce0345d

Browse files
committed
Trivial doc updates.
1 parent 8b6e930 commit ce0345d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymongo/collection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ def find_and_modify(self, query={}, update=None,
13151315
parameter. If no objects match the `query` and `upsert` is false,
13161316
returns ``None``. If upserting and `new` is false, returns ``{}``.
13171317
1318-
If the full_response parameter is true, the return value will be
1318+
If the full_response parameter is ``True``, the return value will be
13191319
the entire response object from the server, including the 'ok' and
13201320
'lastErrorObject' fields, rather than just the modified object.
13211321
This is useful mainly because the 'lastErrorObject' document holds
@@ -1329,7 +1329,7 @@ def find_and_modify(self, query={}, update=None,
13291329
order for this query. See :meth:`~pymongo.cursor.Cursor.sort`
13301330
for details.
13311331
- `full_response`: return the entire response object from the
1332-
server
1332+
server (default ``False``)
13331333
- `remove`: remove rather than updating (default ``False``)
13341334
- `new`: return updated rather than original object
13351335
(default ``False``)

0 commit comments

Comments
 (0)