@@ -366,15 +366,6 @@ def save(
366366 meta['cascade'] = True. Also you can pass different kwargs to
367367 the cascade save using cascade_kwargs which overwrites the
368368 existing kwargs with custom values.
369- .. versionchanged:: 0.8.5
370- Optional save_condition that only overwrites existing documents
371- if the condition is satisfied in the current db record.
372- .. versionchanged:: 0.10
373- :class:`OperationError` exception raised if save_condition fails.
374- .. versionchanged:: 0.10.1
375- :class: save_condition failure now raises a `SaveConditionError`
376- .. versionchanged:: 0.10.7
377- Add signal_kwargs argument
378369 """
379370 signal_kwargs = signal_kwargs or {}
380371
@@ -629,9 +620,6 @@ def delete(self, signal_kwargs=None, **write_concern):
629620 For example, ``save(..., w: 2, fsync: True)`` will
630621 wait until at least two servers have recorded the write and
631622 will force an fsync on the primary server.
632-
633- .. versionchanged:: 0.10.7
634- Add signal_kwargs argument
635623 """
636624 signal_kwargs = signal_kwargs or {}
637625 signals .pre_delete .send (self .__class__ , document = self , ** signal_kwargs )
@@ -713,8 +701,6 @@ def switch_collection(self, collection_name, keep_created=True):
713701 def select_related (self , max_depth = 1 ):
714702 """Handles dereferencing of :class:`~bson.dbref.DBRef` objects to
715703 a maximum depth in order to cut down the number queries to mongodb.
716-
717- .. versionadded:: 0.5
718704 """
719705 DeReference = _import_class ("DeReference" )
720706 DeReference ()([self ], max_depth + 1 )
@@ -725,10 +711,6 @@ def reload(self, *fields, **kwargs):
725711
726712 :param fields: (optional) args list of fields to reload
727713 :param max_depth: (optional) depth of dereferencing to follow
728-
729- .. versionadded:: 0.1.2
730- .. versionchanged:: 0.6 Now chainable
731- .. versionchanged:: 0.9 Can provide specific fields to reload
732714 """
733715 max_depth = 1
734716 if fields and isinstance (fields [0 ], int ):
@@ -830,9 +812,6 @@ def drop_collection(cls):
830812
831813 Raises :class:`OperationError` if the document has no collection set
832814 (i.g. if it is `abstract`)
833-
834- .. versionchanged:: 0.10.7
835- :class:`OperationError` exception raised if no collection available
836815 """
837816 coll_name = cls ._get_collection_name ()
838817 if not coll_name :
@@ -1087,8 +1066,6 @@ class MapReduceDocument:
10871066 an ``ObjectId`` found in the given ``collection``,
10881067 the object can be accessed via the ``object`` property.
10891068 :param value: The result(s) for this key.
1090-
1091- .. versionadded:: 0.3
10921069 """
10931070
10941071 def __init__ (self , document , collection , key , value ):
0 commit comments