From ae9eb5c4d00682af7f7835c74f20f50d83720f2d Mon Sep 17 00:00:00 2001 From: Hirokazu Yamamoto Date: Sun, 26 Apr 2009 03:34:06 +0000 Subject: [PATCH] Fixed documentation build warning. --- Doc/library/json.rst | 4 ++-- Doc/reference/datamodel.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/json.rst b/Doc/library/json.rst index edaf65722dc..e2d189c5814 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -190,7 +190,7 @@ Basic Usage *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 @@ Encoders and decoders *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 1e54db7903c..83d23584c92 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1569,7 +1569,7 @@ calling the metaclass's :meth:`__prepare__` method which returns an empty :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*.