Small wording fix.

This commit is contained in:
Georg Brandl 2011-04-16 16:54:15 +02:00
parent 219cc776f6
commit 340d2690b3
1 changed files with 4 additions and 3 deletions

View File

@ -158,9 +158,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)