@@ -125,7 +125,7 @@ By default, {+driver-short+} retrieves UTC ``datetime`` values with no supplemen
125125information. The following code example retrieves the sample document
126126and prints the ``datetime`` value. The printed value is identical to
127127the one in the sample document. Select the :guilabel:`Synchronous` or
128- :guilabel:`Asynchronous` tab to see the corresponding code.
128+ :guilabel:`Asynchronous` tab to see the corresponding code:
129129
130130.. tabs::
131131
@@ -184,7 +184,7 @@ Then, pass the ``CodecOptions`` object to the ``get_collection()`` method.
184184
185185The following code example retrieves the ``datetime`` value from the sample document as
186186an aware ``datetime``. Select the :guilabel:`Synchronous` or :guilabel:`Asynchronous` tab
187- to see the corresponding code.
187+ to see the corresponding code:
188188
189189.. tabs::
190190
@@ -258,7 +258,7 @@ Then, create a ``CodecOptions`` object and pass the following arguments to the c
258258The following code example retrieves the sample document,
259259but uses the ``tz_aware`` and ``tzinfo`` arguments to automatically localize
260260the ``datetime`` value to the ``"US/Pacific"`` time zone. Select the :guilabel:`Synchronous`
261- or :guilabel:`Asynchronous` tab to see the corresponding code.
261+ or :guilabel:`Asynchronous` tab to see the corresponding code:
262262
263263.. tabs::
264264
@@ -343,7 +343,7 @@ The following code example inserts a document containing a ``datetime`` value lo
343343to the ``"US/Pacific"`` time zone. {+driver-short+} uses the attached time zone to convert
344344the local time to UTC. When the document is retrieved from MongoDB, the ``datetime`` value
345345is in UTC. Select the :guilabel:`Synchronous` or :guilabel:`Asynchronous` tab to see the
346- corresponding code.
346+ corresponding code:
347347
348348.. tabs::
349349
@@ -601,7 +601,7 @@ attempt to decode the value as a ``datetime.datetime``, allowing
601601this behavior to instead return ``~bson.datetime_ms.DatetimeMS`` when
602602representations are out-of-range, while returning ``~datetime.datetime``
603603objects as before. Select the :guilabel:`Synchronous`
604- or :guilabel:`Asynchronous` tab to see the corresponding code.
604+ or :guilabel:`Asynchronous` tab to see the corresponding code:
605605
606606.. tabs::
607607
@@ -664,7 +664,7 @@ class.
664664Another option that does not involve setting ``datetime_conversion`` is to
665665filter out document values outside of the range supported by
666666``~datetime.datetime``. Select the
667- :guilabel:`Synchronous` or :guilabel:`Asynchronous` tab to see the corresponding code.
667+ :guilabel:`Synchronous` or :guilabel:`Asynchronous` tab to see the corresponding code:
668668
669669.. tabs::
670670
@@ -687,7 +687,7 @@ filter out document values outside of the range supported by
687687 cur = await coll.find({'dt': {'$gte': datetime.min, '$lte': datetime.max}})
688688
689689If you don't need the value of ``datetime``, you can filter out just that field. Select the
690- :guilabel:`Synchronous` or :guilabel:`Asynchronous` tab to see the corresponding code.
690+ :guilabel:`Synchronous` or :guilabel:`Asynchronous` tab to see the corresponding code:
691691
692692.. tabs::
693693
0 commit comments