@@ -182,14 +182,14 @@ def __set_uuid_subtype(self, subtype):
182182 self .__uuid_subtype = subtype
183183
184184 uuid_subtype = property (__get_uuid_subtype , __set_uuid_subtype ,
185- doc = """This setting specifies which BSON Binary
185+ doc = """This attribute specifies which BSON Binary
186186 subtype is used when storing UUIDs. Historically
187187 UUIDs have been stored as BSON Binary subtype 3.
188- This setting is used to switch to the newer BSON
189- binary subtype 4. This setting can also be used to
190- force legacy byte order and subtype compatibility
191- with the Java and C# drivers. See the bson.binary
192- module for all options.""" )
188+ This attribute is used to switch to the newer BSON
189+ binary subtype 4. It can also be used to force
190+ legacy byte order and subtype compatibility with
191+ the Java and C# drivers. See the
192+ :mod:`bson.binary` module for all options.""" )
193193
194194 def save (self , to_save , manipulate = True ,
195195 safe = None , check_keys = True , ** kwargs ):
@@ -685,7 +685,7 @@ def create_index(self, key_or_list, cache_for=300, **kwargs):
685685 arguments
686686 - `ttl` (deprecated): Use `cache_for` instead.
687687
688- .. versionchanged:: 2.2.1+
688+ .. versionchanged:: 2.3
689689 The `ttl` parameter has been deprecated to avoid confusion with
690690 TTL collections. Use `cache_for` instead.
691691
@@ -787,7 +787,7 @@ def ensure_index(self, key_or_list, cache_for=300, **kwargs):
787787 arguments
788788 - `ttl` (deprecated): Use `cache_for` instead.
789789
790- .. versionchanged:: 2.2.1+
790+ .. versionchanged:: 2.3
791791 The `ttl` parameter has been deprecated to avoid confusion with
792792 TTL collections. Use `cache_for` instead.
793793
0 commit comments