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
9999file. Then, decode the documents from BSON format as you read them by using the ``bson.decode()``
100100method.
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
142140The 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
You can’t perform that action at this time.
0 commit comments