Skip to content

Commit 32dbd31

Browse files
committed
NS feedback
1 parent 906a770 commit 32dbd31

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/data-formats/bson.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ access to the underlying raw BSON bytes. To use ``RawBSONDocument`` objects to r
132132
documents in your collection, set the ``document_class`` parameter of the ``MongoClient``
133133
constructor to ``RawBSONDocument``.
134134

135+
.. note::
136+
137+
``RawBSONDocument`` objects are read-only. To modify a ``RawBSONDocument``, you must
138+
first convert it to a {+language+} dictionary.
139+
135140
The following example configures a ``MongoClient`` object to use ``RawBSONDocument`` objects
136141
to model the collection, then retrieves the sample document from the preceding examples:
137142

@@ -153,11 +158,6 @@ to model the collection, then retrieves the sample document from the preceding e
153158

154159
<class 'bson.raw_bson.RawBSONDocument'>
155160

156-
.. note::
157-
158-
``RawBSONDocument`` objects are read-only. To modify a ``RawBSONDocument``, you must
159-
first convert it to a {+language+} dictionary.
160-
161161
API Documentation
162162
-----------------
163163

0 commit comments

Comments
 (0)