From 44f92d41691284e552609bc535d99dc781dd06e4 Mon Sep 17 00:00:00 2001 From: abonhomme Date: Fri, 23 Oct 2015 11:07:26 -0400 Subject: [PATCH] docstring correction Corrected the docstring for `mongoengine.queryset.base.update_one()` --- mongoengine/queryset/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mongoengine/queryset/base.py b/mongoengine/queryset/base.py index 0e183889..0867e0e2 100644 --- a/mongoengine/queryset/base.py +++ b/mongoengine/queryset/base.py @@ -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