Fixed documentation build warning.
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index edaf657..e2d189c 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -190,7 +190,7 @@
    *object_hook* is also defined, the *object_pairs_hook* takes priority.
 
    .. versionchanged:: 3.1
-   Added support for *object_pairs_hook*.
+      Added support for *object_pairs_hook*.
 
    *parse_float*, if specified, will be called with the string of every JSON
    float to be decoded.  By default, this is equivalent to ``float(num_str)``.
@@ -278,7 +278,7 @@
    *object_hook* is also defined, the *object_pairs_hook* takes priority.
 
    .. versionchanged:: 3.1
-   Added support for *object_pairs_hook*.
+      Added support for *object_pairs_hook*.
 
    *parse_float*, if specified, will be called with the string of every JSON
    float to be decoded.  By default, this is equivalent to ``float(num_str)``.
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 1e54db7..83d2358 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1569,7 +1569,7 @@
 :class:`collections.OrderedDict`.  That mapping records the methods and
 attributes of *A* as they are defined within the body of the class statement.
 Once those definitions are executed, the ordered dictionary is fully populated
-and the metaclass's :meth:`__new__ ` method gets invoked.  That method builds
+and the metaclass's :meth:`__new__` method gets invoked.  That method builds
 the new type and it saves the ordered dictionary keys in an attribute
 called *members*.