File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,7 @@ To read BSON documents from a file, open a file stream in read-binary mode on th
99
99
file. Then, decode the documents from BSON format as you read them by using the ``bson.decode()``
100
100
method.
101
101
102
- The following example reads the sample BSON document from ``file.bson``. Select the
103
- :guilabel:`Synchronous` or :guilabel:`Asynchronous` tab to see the corresponding
104
- code.
102
+ The following example reads the sample BSON document from ``file.bson``:
105
103
106
104
.. io-code-block::
107
105
:copyable: true
@@ -140,7 +138,9 @@ constructor to ``RawBSONDocument``.
140
138
first convert it to a {+language+} dictionary.
141
139
142
140
The following example configures a ``MongoClient`` object to use ``RawBSONDocument`` objects
143
- to model the collection, then retrieves the sample document from the preceding examples:
141
+ to model the collection, then retrieves the sample document from the preceding examples.
142
+ Select the :guilabel:`Synchronous` or :guilabel:`Asynchronous` tab to see the corresponding
143
+ code.
144
144
145
145
.. tabs::
146
146
You can’t perform that action at this time.
0 commit comments