diff options
| author | Joel Nothman <joel.nothman@gmail.com> | 2012-12-06 23:36:16 +1100 |
|---|---|---|
| committer | Joel Nothman <joel.nothman@gmail.com> | 2012-12-06 23:36:16 +1100 |
| commit | 6d4115f64bb180f34161b8a517c9c2165af81deb (patch) | |
| tree | c0733b8e19b1ff16be63dde86df3d2dcdc21d43d | |
| parent | de3724c1de8b0320e6cab3736404ab9857b7a951 (diff) | |
| download | msgpack-python-6d4115f64bb180f34161b8a517c9c2165af81deb.tar.gz | |
Minor grammar fixes
| -rw-r--r-- | README.rst | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -35,13 +35,13 @@ To unpack it to list, Use ``use_list`` option. >>> msgpack.unpackb(b'\x93\x01\x02\x03', use_list=True) [1, 2, 3] -Read docstring for other options. +Read the docstring for other options. streaming unpacking ^^^^^^^^^^^^^^^^^^^ -``Unpacker`` is "streaming unpacker". It unpacks multiple objects from one +``Unpacker`` is a "streaming unpacker". It unpacks multiple objects from one stream. :: @@ -59,10 +59,11 @@ stream. for unpacked in unpacker: print unpacked + packing/unpacking of custom data type ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Also possible to pack/unpack user's data types. Here is an example for +It is also possible to pack/unpack custom data types. Here is an example for ``datetime.datetime``. :: |
