Skip to content

Commit 007f10d

Browse files
author
Omer Katz
committed
Merge pull request #1161 from AWhetter/docFix
Fixed a couple of documentation typos
2 parents f9284d2 + cceef33 commit 007f10d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mongoengine/document.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def modify(self, query={}, **update):
217217
Returns True if the document has been updated or False if the document
218218
in the database doesn't match the query.
219219
220-
.. note:: All unsaved changes that has been made to the document are
220+
.. note:: All unsaved changes that have been made to the document are
221221
rejected if the method returns True.
222222
223223
:param query: the update will be performed only if the document in the
@@ -407,7 +407,7 @@ def is_new_object(last_error):
407407

408408
def cascade_save(self, *args, **kwargs):
409409
"""Recursively saves any references /
410-
generic references on an objects"""
410+
generic references on the document"""
411411
_refs = kwargs.get('_refs', []) or []
412412

413413
ReferenceField = _import_class('ReferenceField')

0 commit comments

Comments
 (0)