Fix .delete doc of **write_concern as suggested by #1779

This commit is contained in:
Bastien Gérard 2018-08-28 22:58:13 +02:00
parent 9ad959a478
commit 576f23d5fb

View File

@ -585,9 +585,8 @@ class Document(BaseDocument):
:param signal_kwargs: (optional) kwargs dictionary to be passed to :param signal_kwargs: (optional) kwargs dictionary to be passed to
the signal calls. the signal calls.
:param write_concern: Extra keyword arguments are passed down which :param write_concern: Extra keyword arguments are passed down which
will be used as options for the resultant will be used as options for the resultant ``getLastError`` command.
``getLastError`` command. For example, For example, ``save(..., w: 2, fsync: True)`` will
``save(..., write_concern={w: 2, fsync: True}, ...)`` will
wait until at least two servers have recorded the write and wait until at least two servers have recorded the write and
will force an fsync on the primary server. will force an fsync on the primary server.