Merge pull request #1134 from abonhomme/patch-1

docstring correction
This commit is contained in:
Omer Katz 2015-11-05 15:49:53 +02:00
commit 82e7050561

View File

@ -472,7 +472,8 @@ class BaseQuerySet(object):
raise OperationError(u'Update failed (%s)' % unicode(err))
def update_one(self, upsert=False, write_concern=None, **update):
"""Perform an atomic update on first field matched by the query.
"""Perform an atomic update on the fields of the first document
matched by the query.
:param upsert: Any existing document with that "_id" is overwritten.
:param write_concern: Extra keyword arguments are passed down which