summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-04-26 03:34:06 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-04-26 03:34:06 (GMT)
commitae9eb5c4d00682af7f7835c74f20f50d83720f2d (patch)
tree5939b7ee254a6238727d82840cf3f3e0b2ded583
parentc34ed8e86972510f8a3ab161b175ef4a7619d6ab (diff)
downloadcpython-ae9eb5c4d00682af7f7835c74f20f50d83720f2d.zip
cpython-ae9eb5c4d00682af7f7835c74f20f50d83720f2d.tar.gz
cpython-ae9eb5c4d00682af7f7835c74f20f50d83720f2d.tar.bz2
Fixed documentation build warning.
-rw-r--r--Doc/library/json.rst4
-rw-r--r--Doc/reference/datamodel.rst2
2 files changed, 3 insertions, 3 deletions
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 @@ 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 1e54db7..83d2358 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*.