mirror of
https://github.com/python/cpython.git
synced 2024-12-03 14:55:56 +08:00
Merge with 3.1
This commit is contained in:
commit
10fe23b495
@ -160,9 +160,10 @@ Basic Usage
|
||||
|
||||
.. note::
|
||||
|
||||
Unlike :mod:`pickle` and :mod:`marshal`, JSON is not a framed protocol so
|
||||
trying to serialize more objects with repeated calls to :func:`dump` and
|
||||
the same *fp* will result in an invalid JSON file.
|
||||
Unlike :mod:`pickle` and :mod:`marshal`, JSON is not a framed protocol,
|
||||
so trying to serialize multiple objects with repeated calls to
|
||||
:func:`dump` using the same *fp* will result in an invalid JSON file.
|
||||
|
||||
|
||||
.. function:: load(fp, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, **kw)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user