@@ -39,7 +39,7 @@ helper attribute and methods:
3939
4040- ``str``
4141
42- The hexadecimal string value of the ``ObjectID ()`` object.
42+ The hexadecimal string value of the ``ObjectId ()`` object.
4343
4444- :method:`getTimestamp() <ObjectId.getTimestamp()>`
4545
@@ -51,7 +51,7 @@ helper attribute and methods:
5151 returned string literal has the format "``ObjectId(...)``".
5252
5353 .. versionchanged:: 2.2
54- In previous versions :method:`ObjectId.toString()> ` returns the
54+ In previous versions :method:`ObjectId.toString()` returns the
5555 value of the ObjectId as a hexadecimal string.
5656
5757- :method:`valueOf() <ObjectId.valueOf()>`
@@ -60,10 +60,10 @@ helper attribute and methods:
6060 The returned string is the ``str`` attribute.
6161
6262 .. versionchanged:: 2.2
63- In previous versions :method:`ObjectId.valueOf()> ` returns the
64- value of the ObjectId as a hexadecimal string .
63+ In previous versions :method:`ObjectId.valueOf()` returns the
64+ `` ObjectId()`` object .
6565
66- Consider the example uses of the ``ObjectID ()`` class in the
66+ Consider the example uses of the ``ObjectId ()`` class in the
6767:program:`mongo` shell:
6868
6969- To generate a new ObjectId, use the ``ObjectId()`` constructor with
@@ -92,7 +92,8 @@ Consider the example uses of the ``ObjectID()`` class in the
9292
9393 ObjectId("507f191e810c19729de860ea")
9494
95- - To return the timestamp of an ``ObjectId()`` object:
95+ - To return the timestamp of an ``ObjectId()`` object, use the
96+ :method:`getTimestamp() <ObjectId.getTimestamp()>` method as follows:
9697
9798 .. code-block:: javascript
9899
0 commit comments