Kaydet (Commit) ae9eb5c4 authored tarafından Hirokazu Yamamoto's avatar Hirokazu Yamamoto

Fixed documentation build warning.

üst c34ed8e8
...@@ -190,7 +190,7 @@ Basic Usage ...@@ -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 ...@@ -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)``.
......
...@@ -1569,7 +1569,7 @@ calling the metaclass's :meth:`__prepare__` method which returns an empty ...@@ -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*.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment