Skip to content

Commit 6e48297

Browse files
committed
Formatting and missing parameter to JSONDecoder
1 parent 9cd60a5 commit 6e48297

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/json.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ Basic Usage
359359
of service attacks.
360360

361361
.. versionchanged:: 3.15
362-
* Added the optional *array_hook* parameter.
362+
Added the optional *array_hook* parameter.
363363

364364
.. function:: loads(s, *, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, array_hook=None, **kw)
365365

@@ -379,7 +379,7 @@ Basic Usage
379379
Encoders and Decoders
380380
---------------------
381381

382-
.. class:: JSONDecoder(*, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, strict=True, object_pairs_hook=None)
382+
.. class:: JSONDecoder(*, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, strict=True, object_pairs_hook=None, array_hook=None)
383383

384384
Simple JSON decoder.
385385

@@ -429,7 +429,7 @@ Encoders and Decoders
429429
*array_hook* will be used instead of the :class:`list`. This feature can be
430430
used to implement custom decoders.
431431

432-
.. versionchanged:: 3.15
432+
.. versionchanged:: next
433433
Added support for *array_hook*.
434434

435435
*parse_float* is an optional function that will be called with the string of

0 commit comments

Comments
 (0)