Skip to content

Commit 4cbeeed

Browse files
committed
Fix
1 parent 9dab0b8 commit 4cbeeed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/data-formats/bson.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ To read BSON documents from a file, open a file stream in read-binary mode on th
9999
file. Then, decode the documents from BSON format as you read them by using the ``bson.decode()``
100100
method.
101101

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``:
105103

106104
.. io-code-block::
107105
:copyable: true
@@ -140,7 +138,9 @@ constructor to ``RawBSONDocument``.
140138
first convert it to a {+language+} dictionary.
141139

142140
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.
144144

145145
.. tabs::
146146

0 commit comments

Comments
 (0)