@@ -182,14 +182,14 @@ def __set_uuid_subtype(self, subtype):
182
182
self .__uuid_subtype = subtype
183
183
184
184
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
186
186
subtype is used when storing UUIDs. Historically
187
187
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.""" )
193
193
194
194
def save (self , to_save , manipulate = True ,
195
195
safe = None , check_keys = True , ** kwargs ):
@@ -685,7 +685,7 @@ def create_index(self, key_or_list, cache_for=300, **kwargs):
685
685
arguments
686
686
- `ttl` (deprecated): Use `cache_for` instead.
687
687
688
- .. versionchanged:: 2.2.1+
688
+ .. versionchanged:: 2.3
689
689
The `ttl` parameter has been deprecated to avoid confusion with
690
690
TTL collections. Use `cache_for` instead.
691
691
@@ -787,7 +787,7 @@ def ensure_index(self, key_or_list, cache_for=300, **kwargs):
787
787
arguments
788
788
- `ttl` (deprecated): Use `cache_for` instead.
789
789
790
- .. versionchanged:: 2.2.1+
790
+ .. versionchanged:: 2.3
791
791
The `ttl` parameter has been deprecated to avoid confusion with
792
792
TTL collections. Use `cache_for` instead.
793
793
0 commit comments