Skip to content

Commit 3da5818

Browse files
authored
update readme (#605)
1 parent 72e65fe commit 3da5818

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

README.md

+4-11
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,7 @@ msgpack provides `dumps` and `loads` as an alias for compatibility with
4949
[1, 2, 3]
5050
```
5151

52-
`unpack` unpacks msgpack's array to Python's list, but can also unpack to tuple:
53-
54-
```pycon
55-
>>> msgpack.unpackb(b'\x93\x01\x02\x03', use_list=False)
56-
(1, 2, 3)
57-
```
58-
59-
You should always specify the `use_list` keyword argument for backward compatibility.
60-
See performance issues relating to `use_list option`_ below.
61-
62-
Read the docstring for other options.
52+
Read the docstring for options.
6353

6454

6555
### Streaming unpacking
@@ -116,6 +106,9 @@ this_dict_again = msgpack.unpackb(packed_dict, object_hook=decode_datetime)
116106
`object_pairs_hook` callback may instead be used to receive a list of
117107
key-value pairs.
118108

109+
NOTE: msgpack can encode datetime with tzinfo into standard ext type for now.
110+
See `datetime` option in `Packer` docstring.
111+
119112

120113
### Extended types
121114

0 commit comments

Comments
 (0)