File tree 1 file changed +4
-11
lines changed
1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,7 @@ msgpack provides `dumps` and `loads` as an alias for compatibility with
49
49
[1, 2, 3]
50
50
```
51
51
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.
63
53
64
54
65
55
### Streaming unpacking
@@ -116,6 +106,9 @@ this_dict_again = msgpack.unpackb(packed_dict, object_hook=decode_datetime)
116
106
` object_pairs_hook ` callback may instead be used to receive a list of
117
107
key-value pairs.
118
108
109
+ NOTE: msgpack can encode datetime with tzinfo into standard ext type for now.
110
+ See ` datetime ` option in ` Packer ` docstring.
111
+
119
112
120
113
### Extended types
121
114
You can’t perform that action at this time.
0 commit comments