Fixed documentation build warning.

This commit is contained in:
Hirokazu Yamamoto 2009-04-26 03:34:06 +00:00
parent c34ed8e869
commit ae9eb5c4d0
2 changed files with 3 additions and 3 deletions

View File

@ -190,7 +190,7 @@ Basic Usage
*object_hook* is also defined, the *object_pairs_hook* takes priority. *object_hook* is also defined, the *object_pairs_hook* takes priority.
.. versionchanged:: 3.1 .. 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 *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)``. 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. *object_hook* is also defined, the *object_pairs_hook* takes priority.
.. versionchanged:: 3.1 .. 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 *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)``. float to be decoded. By default, this is equivalent to ``float(num_str)``.

View File

@ -1569,7 +1569,7 @@ calling the metaclass's :meth:`__prepare__` method which returns an empty
:class:`collections.OrderedDict`. That mapping records the methods and :class:`collections.OrderedDict`. That mapping records the methods and
attributes of *A* as they are defined within the body of the class statement. 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 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 the new type and it saves the ordered dictionary keys in an attribute
called *members*. called *members*.